From 1bd937ce90f34a53f5ef3ffddafb3a8e05a75214 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" Date: Fri, 23 Feb 2018 14:07:32 +0100 Subject: 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 --- modules/vidloop/vidloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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) -- cgit v1.2.3