FS-7500: sync up going both ways after picture reset
This commit is contained in:
parent
b90d24a05f
commit
a8b00acda7
|
@ -9591,7 +9591,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_video_frame(switch_cor
|
|||
}
|
||||
|
||||
if (!smh->video_init && smh->mparams->video_key_first && (now - smh->video_last_key_time) > smh->mparams->video_key_first) {
|
||||
switch_core_media_gen_key_frame(smh->session);
|
||||
switch_core_session_refresh_video_both_ways(smh->session);
|
||||
|
||||
if (smh->video_last_key_time) {
|
||||
smh->video_init = 1;
|
||||
|
|
Loading…
Reference in New Issue