29 int len, max_packet_size, header_size;
32 s->timestamp =
s->cur_timestamp;
38 *
s->buf_ptr++ =
s->frame_count++ & 0x7f;
40 header_size =
s->buf_ptr -
s->buf;
41 max_packet_size =
s->max_payload_size - header_size;
46 memcpy(
s->buf_ptr, buf,
len);
void ff_rtp_send_data(AVFormatContext *s1, const uint8_t *buf1, int len, int m)
void ff_rtp_send_vp8(AVFormatContext *s1, const uint8_t *buf, int size)