summaryrefslogtreecommitdiff
path: root/libavformat/rtp.h
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:29:14 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-04 23:29:14 +0000
commit78740240620eb0f35cad9094dd6bd0f3673b8daf (patch)
treef691906de609619a31cc482ada73b0ab0024ce72 /libavformat/rtp.h
parent1dd7345abc8a9e6f225a8400ee3716c0cf2a71c5 (diff)
Move rtp_check_and_send_back_rr()'s unaltered comments to the header file.
Originally committed as revision 8234 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtp.h')
-rw-r--r--libavformat/rtp.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavformat/rtp.h b/libavformat/rtp.h
index d89bf82a8a..946d325288 100644
--- a/libavformat/rtp.h
+++ b/libavformat/rtp.h
@@ -43,6 +43,12 @@ extern AVInputFormat rtp_demuxer;
int rtp_get_local_port(URLContext *h);
int rtp_set_remote_url(URLContext *h, const char *uri);
void rtp_get_file_handles(URLContext *h, int *prtp_fd, int *prtcp_fd);
+
+/**
+ * some rtp servers assume client is dead if they don't hear from them...
+ * so we send a Receiver Report to the provided ByteIO context
+ * (we don't have access to the rtcp handle from here)
+ */
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
extern URLProtocol rtp_protocol;