提交 968c76b2 authored 作者: Mike Jerris's avatar Mike Jerris

Merge pull request #1597 in FS/freeswitch from…

Merge pull request #1597 in FS/freeswitch from ~DRAGOS_OANCEA_NX/freeswitch-dragos-nx:feat/FS-11409/ice-lite to master

* commit '3ed6d56d':
  FS-11409: add "ice-lite" SDP attribute
......@@ -10580,6 +10580,9 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
}
switch_snprintf(buf + strlen(buf), SDPBUFLEN - strlen(buf), "a=end-of-candidates\r\n");
if (switch_true(switch_channel_get_variable(session->channel, "ice_lite"))) {
switch_snprintf(buf + strlen(buf), SDPBUFLEN - strlen(buf), "a=ice-lite\r\n");
}
switch_snprintf(buf + strlen(buf), SDPBUFLEN - strlen(buf), "a=ssrc:%u cname:%s\r\n", a_engine->ssrc, smh->cname);
switch_snprintf(buf + strlen(buf), SDPBUFLEN - strlen(buf), "a=ssrc:%u msid:%s a0\r\n", a_engine->ssrc, smh->msid);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论