提交 ccbef9e0 authored 作者: doancea's avatar doancea

opus@8000h : with this change there RTP timestamps will be incremented with 960…

opus@8000h : with this change there RTP timestamps will be incremented with 960 (20 ms ptime) - per RFC , and the frame size will be 160 samples.
上级 359ff2ac
...@@ -547,7 +547,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load) ...@@ -547,7 +547,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
} }
samples = 80; samples = 480;
bytes = 160; bytes = 160;
mss = 10000; mss = 10000;
rate = 8000; rate = 8000;
...@@ -599,7 +599,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load) ...@@ -599,7 +599,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
switch_opus_destroy); /* deinitalize a codec handle using this implementation */ switch_opus_destroy); /* deinitalize a codec handle using this implementation */
bytes += 160; bytes += 160;
samples += 80; samples += 480;
mss += 10000; mss += 10000;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论