TT#69700 reduce max allowed delay to half a second

Change-Id: I34a861b00e9ae0a213eb211c05b2904e9c97fa0a
changes/31/34931/2
Richard Fuchs 6 years ago
parent 7a28b972c0
commit 871491458f

@ -210,10 +210,10 @@ static void mix_silence_fill(mix_t *mix) {
return;
for (int i = 0; i < NUM_INPUTS; i++) {
// check the pts of each input and give them max 1 second of delay.
// check the pts of each input and give them max 0.5 second of delay.
// if they fall behind too much, fill input with silence. otherwise
// output stalls and won't produce media
mix_silence_fill_idx_upto(mix, i, mix->out_pts - mix->format.clockrate);
mix_silence_fill_idx_upto(mix, i, mix->out_pts - mix->format.clockrate / 2);
}
}

Loading…
Cancel
Save