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