mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
FS-10249: [mod_av] Audio gradually falls behind video in recordings
This commit is contained in:
parent
efbf7e5473
commit
f17ac2feb2
@ -2088,12 +2088,13 @@ static void check_jb_sync(switch_core_session_t *session)
|
||||
|
||||
|
||||
if (!frames) {
|
||||
sync_audio = 1;
|
||||
|
||||
if (cur_frames && min_frames && cur_frames >= min_frames) {
|
||||
frames = cur_frames;
|
||||
} else {
|
||||
frames = fps / 15;
|
||||
if (frames < 1) frames = 1;
|
||||
sync_audio = 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user