mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
FS-7908 use rates for audio codecs only #resolve
This commit is contained in:
@@ -7171,6 +7171,10 @@ SWITCH_DECLARE(void) switch_core_media_gen_local_sdp(switch_core_session_t *sess
|
||||
break;
|
||||
}
|
||||
|
||||
if (smh->codecs[i]->codec_type != SWITCH_CODEC_TYPE_AUDIO) {
|
||||
goto do_next;
|
||||
}
|
||||
|
||||
if (smh->rates[j] == smh->codecs[i]->samples_per_second) {
|
||||
goto do_next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user