Mercurial > libavformat.hg
comparison rtpdec.h @ 6413:179ddd49895f libavformat
Add rtp_get_rtcp_file_handle function
Patch by Josh Allmann, joshua dot allmann at gmail
author | mstorsjo |
---|---|
date | Wed, 25 Aug 2010 17:32:59 +0000 |
parents | 7b8b71ff9a76 |
children |
comparison
equal
deleted
inserted
replaced
6412:6d6b63b7e5e3 | 6413:179ddd49895f |
---|---|
69 * some rtp servers assume client is dead if they don't hear from them... | 69 * some rtp servers assume client is dead if they don't hear from them... |
70 * so we send a Receiver Report to the provided ByteIO context | 70 * so we send a Receiver Report to the provided ByteIO context |
71 * (we don't have access to the rtcp handle from here) | 71 * (we don't have access to the rtcp handle from here) |
72 */ | 72 */ |
73 int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count); | 73 int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count); |
74 | |
75 /** | |
76 * Get the file handle for the RTCP socket. | |
77 */ | |
78 int rtp_get_rtcp_file_handle(URLContext *h); | |
74 | 79 |
75 // these statistics are used for rtcp receiver reports... | 80 // these statistics are used for rtcp receiver reports... |
76 typedef struct { | 81 typedef struct { |
77 uint16_t max_seq; ///< highest sequence number seen | 82 uint16_t max_seq; ///< highest sequence number seen |
78 uint32_t cycles; ///< shifted count of sequence number cycles | 83 uint32_t cycles; ///< shifted count of sequence number cycles |