summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-23 14:07:32 +0100
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2018-02-23 14:07:32 +0100
commit1bd937ce90f34a53f5ef3ffddafb3a8e05a75214 (patch)
tree49104a3522887763afae6de56e3f2f1864929ad9 /modules
parent676c89f7185d07e903efc1d9b109f842d3bdeb3e (diff)
video: change RTP send timestamp to 64-bit
- change RTP timestamp for packet_handler from 32-bit to 64-bit (extended RTP timestamp). This timestamp must be monotonically increasing, and now the application does not have to handle wrapping of send timestamp. - save first/last RTP timestamp sent
Diffstat (limited to 'modules')
-rw-r--r--modules/vidloop/vidloop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/vidloop/vidloop.c b/modules/vidloop/vidloop.c
index a24dbd0..40301eb 100644
--- a/modules/vidloop/vidloop.c
+++ b/modules/vidloop/vidloop.c
@@ -116,7 +116,7 @@ static int display(struct video_loop *vl, struct vidframe *frame)
}
-static int packet_handler(bool marker, uint32_t rtp_ts,
+static int packet_handler(bool marker, uint64_t rtp_ts,
const uint8_t *hdr, size_t hdr_len,
const uint8_t *pld, size_t pld_len,
void *arg)