提交 8d2c6b35 authored 作者: Anthony Minessale's avatar Anthony Minessale

According to https://code.google.com/p/webrtc/issues/detail?id=2768 ; The Chrome…

According to https://code.google.com/p/webrtc/issues/detail?id=2768 ; The Chrome WebRTC engine reserves payload 98 and 99, IKR?  So, to avoid taking a nasty spill down the stairs and subjecting ourselves to further school absences, we'll just start our payload space at 102 when making WebRTC calls.......
上级 f9f36993
......@@ -6090,8 +6090,11 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
if (!smh->payload_space) {
int i;
smh->payload_space = 98;
if (switch_channel_test_flag(session->channel, CF_WEBRTC)) {
smh->payload_space = 102;
} else {
smh->payload_space = 98;
}
for (i = 0; i < smh->mparams->num_codecs; i++) {
smh->ianacodes[i] = smh->codecs[i]->ianacode;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论