From: Adrien CLERC Date: Sun, 31 May 2015 13:11:54 +0000 (+0200) Subject: Send the receiver report with the udp connection, using the peer information X-Git-Tag: v4.2.1~2389 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a4c8cefa77537cda7a00b687378fdc98d8da350;p=thirdparty%2Ftvheadend.git Send the receiver report with the udp connection, using the peer information --- diff --git a/src/input/mpegts/iptv/iptv_rtcp.c b/src/input/mpegts/iptv/iptv_rtcp.c index 360812288..8fdd078e9 100644 --- a/src/input/mpegts/iptv/iptv_rtcp.c +++ b/src/input/mpegts/iptv/iptv_rtcp.c @@ -242,8 +242,9 @@ rtcp_append_rr(sbuf_t *buffer, rtcp_t *packet) static void rtcp_send(iptv_rtcp_info_t *info, sbuf_t *buffer) { + tvhlog(LOG_DEBUG, "rtsp", "Sending receiver report"); // We don't care of the result right now - udp_write(info->connection, buffer->sb_data, buffer->sb_ptr, NULL); + udp_write(info->connection, buffer->sb_data, buffer->sb_ptr, & info->connection->peer); } /*