Skip to content

Commit

Permalink
onvif, filter: the rtp timestamps start at a random number
Browse files Browse the repository at this point in the history
(cherry picked from commit 68283d9)
  • Loading branch information
cHuberCoffee authored and wnetbal committed May 25, 2023
1 parent e5f918e commit 95a3310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/onvif/filter.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ static int filter_stream_reset(struct onvif_filter_stream *fs,
fs->active = true;
fs->aubuf_maxsz = max(cfg->audio.buffer.max, maxsz);
fs->ssrc = 0;
fs->timestamp = 0;
fs->timestamp = rand_u16();

return err;
}
Expand Down

0 comments on commit 95a3310

Please sign in to comment.