mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
Merge 2cb7ca2bbc41c8fb3b3552bdff78db63fcde3ec9 into 675bd8f27d7ef201673f21c4ae6dd6fef73383b4
This commit is contained in:
commit
b05dda92a5
@ -5517,6 +5517,10 @@ SWITCH_DECLARE(uint8_t) switch_core_media_negotiate_sdp(switch_core_session_t *s
|
||||
uint32_t bit_rate = imp->bits_per_second;
|
||||
uint32_t codec_rate = imp->samples_per_second;
|
||||
|
||||
if (!strcasecmp(map->rm_encoding, "opus")) {
|
||||
codec_rate = imp->actual_samples_per_second;
|
||||
}
|
||||
|
||||
if (imp->codec_type != SWITCH_CODEC_TYPE_AUDIO) {
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user