From: Dragos Oancea Date: Wed, 31 Jul 2019 14:42:09 +0000 (+0000) Subject: FS-11967: [core] fix rate of recording for Opus X-Git-Tag: v1.10.0~7^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3bb9471e311bda5d137b14a3c683879985502b60;p=thirdparty%2Ffreeswitch.git FS-11967: [core] fix rate of recording for Opus --- diff --git a/src/switch_core_codec.c b/src/switch_core_codec.c index dbb21443ff..ac21fa4567 100644 --- a/src/switch_core_codec.c +++ b/src/switch_core_codec.c @@ -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,