From 3bb9471e311bda5d137b14a3c683879985502b60 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Wed, 31 Jul 2019 14:42:09 +0000 Subject: [PATCH] FS-11967: [core] fix rate of recording for Opus --- src/switch_core_codec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,