| OLD | NEW |
| 1 /* | 1 /* |
| 2 * RTP demuxer definitions | 2 * RTP demuxer definitions |
| 3 * Copyright (c) 2002 Fabrice Bellard | 3 * Copyright (c) 2002 Fabrice Bellard |
| 4 * Copyright (c) 2006 Ryan Martell <rdm4@martellventures.com> | 4 * Copyright (c) 2006 Ryan Martell <rdm4@martellventures.com> |
| 5 * | 5 * |
| 6 * This file is part of FFmpeg. | 6 * This file is part of FFmpeg. |
| 7 * | 7 * |
| 8 * FFmpeg is free software; you can redistribute it and/or | 8 * FFmpeg is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 */ | 65 */ |
| 66 void rtp_send_punch_packets(URLContext* rtp_handle); | 66 void rtp_send_punch_packets(URLContext* rtp_handle); |
| 67 | 67 |
| 68 /** | 68 /** |
| 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 | 74 |
| 75 /** |
| 76 * Get the file handle for the RTCP socket. |
| 77 */ |
| 78 int rtp_get_rtcp_file_handle(URLContext *h); |
| 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 |
| 79 uint32_t base_seq; ///< base sequence number | 84 uint32_t base_seq; ///< base sequence number |
| 80 uint32_t bad_seq; ///< last bad sequence number + 1 | 85 uint32_t bad_seq; ///< last bad sequence number + 1 |
| 81 int probation; ///< sequence packets till source is valid | 86 int probation; ///< sequence packets till source is valid |
| 82 int received; ///< packets received | 87 int received; ///< packets received |
| 83 int expected_prior; ///< packets expected in last interval | 88 int expected_prior; ///< packets expected in last interval |
| 84 int received_prior; ///< packets received in last interval | 89 int received_prior; ///< packets received in last interval |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char
*value, int value_size); ///< from rtsp.c, but used by rtp dynamic protocol hand
lers. | 178 int ff_rtsp_next_attr_and_value(const char **p, char *attr, int attr_size, char
*value, int value_size); ///< from rtsp.c, but used by rtp dynamic protocol hand
lers. |
| 174 | 179 |
| 175 int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, | 180 int ff_parse_fmtp(AVStream *stream, PayloadContext *data, const char *p, |
| 176 int (*parse_fmtp)(AVStream *stream, | 181 int (*parse_fmtp)(AVStream *stream, |
| 177 PayloadContext *data, | 182 PayloadContext *data, |
| 178 char *attr, char *value)); | 183 char *attr, char *value)); |
| 179 | 184 |
| 180 void av_register_rtp_dynamic_payload_handlers(void); | 185 void av_register_rtp_dynamic_payload_handlers(void); |
| 181 | 186 |
| 182 #endif /* AVFORMAT_RTPDEC_H */ | 187 #endif /* AVFORMAT_RTPDEC_H */ |
| OLD | NEW |