forked from Mirrors/freeswitch
[core] gen keyframe on new recording
This commit is contained in:
parent
1c37daba4c
commit
a7c3c95bef
@ -1448,6 +1448,7 @@ static switch_bool_t record_callback(switch_media_bug_t *bug, void *user_data, s
|
||||
if (switch_core_file_has_video(rh->fh, SWITCH_TRUE)) {
|
||||
switch_core_media_bug_set_media_params(bug, &rh->fh->mm);
|
||||
switch_core_session_request_video_refresh(session);
|
||||
switch_core_media_gen_key_frame(session);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user