Browse Source

TT#69700 reduce max allowed delay to half a second

Change-Id: I34a861b00e9ae0a213eb211c05b2904e9c97fa0a
changes/31/34931/2
Richard Fuchs 6 years ago
parent
commit
871491458f
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      recording-daemon/mix.c

+ 2
- 2
recording-daemon/mix.c View File

@ -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