mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-26 05:04:14 +00:00
add a way to tell mod_conference when the rate of the channel has changed due to a codec change so it can reset the resampler and codecs internally
This commit is contained in:
1 parent
a491df05f1
commit
bd4a0d8cbc
5 files changed
+99
-12
No files matched your search
@@ -7479,6 +7479,14 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_receive_message(switch_core_se
|
||||
|
||||
switch (msg->message_id) {
|
||||
|
||||
case SWITCH_MESSAGE_RESAMPLE_EVENT:
|
||||
{
|
||||
if (switch_channel_test_flag(session->channel, CF_CONFERENCE)) {
|
||||
switch_channel_set_flag(session->channel, CF_CONFERENCE_RESET_MEDIA);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case SWITCH_MESSAGE_INDICATE_VIDEO_REFRESH_REQ:
|
||||
{
|
||||
if (v_engine->rtp_session) {
|
||||
|
||||
Reference in new issue
Block a user