Merge pull request #251 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:opus_8khz_samples_per_frame to master

* commit 'ccbef9e0c7e31c410ce08b5276c3e2e5a2f69883':
  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.
This commit is contained in:
Anthony Minessale II 2015-05-11 10:46:02 -05:00
commit 3859e85ee8
1 changed files with 2 additions and 2 deletions

View File

@ -547,7 +547,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
}
samples = 80;
samples = 480;
bytes = 160;
mss = 10000;
rate = 8000;
@ -599,7 +599,7 @@ SWITCH_MODULE_LOAD_FUNCTION(mod_opus_load)
switch_opus_destroy); /* deinitalize a codec handle using this implementation */
bytes += 160;
samples += 80;
samples += 480;
mss += 10000;
}