Merge pull request #1779 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11967-rate to master

* commit '6fb039607686c1f2cf9265b6ae9b01a29037eb9c':
  FS-11967: add mod_opus to unit test XML
  FS-11967: add unit test for switch_core_codec_copy()
  FS-11967: [core] fix rate of recording for Opus
This commit is contained in:
Mike Jerris
2019-08-01 11:13:37 -05:00
4 changed files with 114 additions and 3 deletions

View File

@@ -621,7 +621,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_codec_copy(switch_codec_t *codec, sw
codec->implementation->iananame,
codec->implementation->modname,
codec->fmtp_in,
codec->implementation->samples_per_second,
codec->implementation->actual_samples_per_second,
codec->implementation->microseconds_per_packet / 1000,
codec->implementation->number_of_channels,
codec->flags,