23 #ifndef AVFORMAT_RTPDEC_H 24 #define AVFORMAT_RTPDEC_H 35 #define RTP_MIN_PACKET_LENGTH 12 36 #define RTP_MAX_PACKET_LENGTH 8192 38 #define RTP_REORDER_QUEUE_DEFAULT_SIZE 500 40 #define RTP_NOTS_VALUE ((uint32_t)-1) 50 uint8_t **buf,
int len);
66 void ff_rtp_send_punch_packets(
URLContext* rtp_handle);
92 #define RTP_FLAG_KEY 0x1 93 #define RTP_FLAG_MARKER 0x2 108 typedef int (*DynamicPayloadPacketHandlerProc)(AVFormatContext *ctx, 113 int len, uint16_t seq,
int flags);
116 const char *enc_name;
120 int static_payload_id;
156 uint32_t base_timestamp;
157 uint32_t cur_timestamp;
158 int64_t unwrapped_timestamp;
159 int64_t range_start_offset;
160 int max_payload_size;
178 uint64_t last_rtcp_ntp_time;
179 int64_t last_rtcp_reception_time;
180 uint64_t first_rtcp_ntp_time;
181 uint32_t last_rtcp_timestamp;
182 int64_t rtcp_ts_offset;
185 unsigned int packet_count;
186 unsigned int octet_count;
187 unsigned int last_octet_count;
188 int64_t last_feedback_time;
223 int ff_rtsp_next_attr_and_value(
const char **p,
char *attr,
int attr_size,
224 char *value,
int value_size);
231 const char *attr,
const char *value));
int queue_size
The size of queue, or 0 if reordering is disabled.
Definition: rtpdec.h:174
Bytestream IO Context.
Definition: avio.h:161
int prev_ret
Fields for packet reordering.
Definition: rtpdec.h:171
RTP/JPEG specific private data.
Definition: rdt.c:83
RTPPacket * queue
A sorted queue of buffered packets not yet returned.
Definition: rtpdec.h:172
uint32_t cycles
shifted count of sequence number cycles
Definition: rtpdec.h:81
Format I/O context.
Definition: avformat.h:1342
uint32_t base_seq
base sequence number
Definition: rtpdec.h:82
uint32_t expected_prior
packets expected in last interval
Definition: rtpdec.h:86
AVCodecID
Identify the syntax and semantics of the bitstream.
Definition: avcodec.h:215
int probation
sequence packets till source is valid
Definition: rtpdec.h:84
Definition: graph2dot.c:48
DynamicPayloadPacketHandlerProc parse_packet
Parse handler for this dynamic packet.
Definition: rtpdec.h:135
uint32_t transit
relative transit time for previous packet
Definition: rtpdec.h:88
uint32_t jitter
estimated jitter.
Definition: rtpdec.h:89
int queue_len
The number of packets in queue.
Definition: rtpdec.h:173
Stream structure.
Definition: avformat.h:873
uint32_t received
packets received
Definition: rtpdec.h:85
Libavcodec external API header.
RTPStatistics statistics
Statistics for this stream (used by RTCP receiver reports)
Definition: rtpdec.h:168
uint32_t received_prior
packets received in last interval
Definition: rtpdec.h:87
uint32_t bad_seq
last bad sequence number + 1
Definition: rtpdec.h:83
AVMediaType
Definition: avutil.h:199
uint16_t max_seq
highest sequence number seen
Definition: rtpdec.h:80
unbuffered private I/O API
This structure stores compressed data.
Definition: avcodec.h:1407