Patch by Josh Allmann, joshua dot allmann at gmail
Originally committed as revision 24929 to svn://svn.ffmpeg.org/ffmpeg/trunk
*/
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
*/
int rtp_check_and_send_back_rr(RTPDemuxContext *s, int count);
+/**
+ * Get the file handle for the RTCP socket.
+ */
+int rtp_get_rtcp_file_handle(URLContext *h);
+
// these statistics are used for rtcp receiver reports...
typedef struct {
uint16_t max_seq; ///< highest sequence number seen
// these statistics are used for rtcp receiver reports...
typedef struct {
uint16_t max_seq; ///< highest sequence number seen
+int rtp_get_rtcp_file_handle(URLContext *h) {
+ RTPContext *s = h->priv_data;
+ return s->rtcp_fd;
+}
+
URLProtocol rtp_protocol = {
"rtp",
rtp_open,
URLProtocol rtp_protocol = {
"rtp",
rtp_open,