mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-23 09:54:14 +00:00
[core] gen keyframe on new recording
This commit is contained in:
parent
ae85190e0f
commit
f3f757072d
@ -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)) {
|
if (switch_core_file_has_video(rh->fh, SWITCH_TRUE)) {
|
||||||
switch_core_media_bug_set_media_params(bug, &rh->fh->mm);
|
switch_core_media_bug_set_media_params(bug, &rh->fh->mm);
|
||||||
switch_core_session_request_video_refresh(session);
|
switch_core_session_request_video_refresh(session);
|
||||||
|
switch_core_media_gen_key_frame(session);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user