summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-06-24 14:43:35 +0200
committerAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-06-24 14:43:35 +0200
commitd1cdff6f55464d8b3087b5a7cbf63b07d7bb142a (patch)
treedb964bad3a895501cc0824afc5ecb2c5a8b13638 /src
parent5fc916c6648a5895e3631d4f4b4f3cb31b50394b (diff)
stream: reset timer on incoming RTCP packets (fixes #271)
Diffstat (limited to 'src')
-rw-r--r--src/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index 5831643..fa0a8c8 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -279,6 +279,8 @@ static void rtcp_handler(const struct sa *src, struct rtcp_msg *msg, void *arg)
struct stream *s = arg;
(void)src;
+ s->ts_last = tmr_jiffies();
+
if (s->rtcph)
s->rtcph(msg, s->arg);