Browse Source

MT#55283 set correct timestamp

Decoding and encoding may have taken some time. Grab an updated "now"
before scheduling a packet to send.

Change-Id: I9380cb01d77519cf082d87f3a6c6cfc18b8213f8
pull/1924/head
Richard Fuchs 8 months ago
parent
commit
87106ef655
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      daemon/codec.c

+ 2
- 0
daemon/codec.c View File

@ -2408,6 +2408,8 @@ void codec_output_rtp(struct media_packet *mp, struct codec_scheduler *csch,
long long ts_diff_us = 0;
gettimeofday(&rtpe_now, NULL);
// ignore scheduling if a sequence number was supplied. in that case we're just doing
// passthrough forwarding (or are handling some other prepared RTP stream) and want
// to send the packet out immediately.


Loading…
Cancel
Save