]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-8992 #resolve [Indicate end of candidates in SDP]
authorAnthony Minessale <anthm@freeswitch.org>
Tue, 29 Mar 2016 22:44:40 +0000 (17:44 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Tue, 29 Mar 2016 22:44:48 +0000 (17:44 -0500)
src/switch_core_media.c

index 59b0ee43016f8b51d87366b251feff39fabd95eb..674283027014b1b61038430ab5b2294c6e7b7714 100644 (file)
@@ -7813,7 +7813,7 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
 
        if (switch_channel_test_flag(smh->session->channel, CF_ICE)) {
                gen_ice(session, SWITCH_MEDIA_TYPE_AUDIO, ip, port);
-               switch_snprintf(buf + strlen(buf), SDPBUFLEN - strlen(buf), "a=msid-semantic: WMS %s\r\n", smh->msid);
+               switch_snprintf(buf + strlen(buf), SDPBUFLEN - strlen(buf), "a=msid-semantic: WMS %s\r\na=end-of-candidates\r\n", smh->msid);
        }
 
        if (a_engine->codec_negotiated) {