1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-04-19 17:57:22 +00:00

FS-7500: refresh vid the other way too when asking for keyframe

This commit is contained in:
Anthony Minessale 2014-11-21 17:42:07 -05:00 committed by Michael Jerris
parent 85d34e7ac9
commit ca70f76a8b

@ -9517,6 +9517,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_media_codec_control(switch_core_sess
codec = &engine->write_codec;
}
if (cmd == SCC_VIDEO_REFRESH && mtype == SWITCH_MEDIA_TYPE_VIDEO) {
switch_core_session_refresh_video(session);
}
if (codec) {
return switch_core_codec_control(codec, cmd, ctype, cmd_data, rtype, ret_data);
}