mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2025-02-02 15:07:36 -05:00
Fix: Set on_demand on creation of on-demand relay
This sets the on_demand parameter of the source correctly on creation of a on-demand relay. Thanks to Marvin Scholz <epirat07@gmail.com>. Closes: #2054
This commit is contained in:
parent
f39b7d8880
commit
f992da8cfa
@ -404,6 +404,7 @@ static void check_relay_stream (relay_server *relay)
|
||||
{
|
||||
ice_config_t *config = config_get_config ();
|
||||
mount_proxy *mountinfo = config_find_mount (config, relay->localmount, MOUNT_TYPE_NORMAL);
|
||||
relay->source->on_demand = relay->on_demand;
|
||||
if (mountinfo == NULL)
|
||||
source_update_settings (config, relay->source, mountinfo);
|
||||
config_release_config ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user