This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | rtp_packet |
Defines | |
#define | RTP_VERSION 2 |
#define | RTP_HEADER_SIZE 12 |
#define | RTP_MAX_PACKET_LEN 1500 |
#define | IP_UDP_SIZE 28 |
#define | JPEG_PAYLOAD_NUM 26 |
Functions | |
int32_t | rtp_init (struct param *p) |
int32_t | rtp_send_data (struct param *p, uint32_t rtp_ts, int8_t pt, int32_t m, int8_t *data, int32_t data_len, unsigned char *h_buf, int h_offset, int h_len) |
void | rtp_done (struct param *p) |
int32_t | ismulticast (struct param *p) |
#define IP_UDP_SIZE 28 |
#define JPEG_PAYLOAD_NUM 26 |
#define RTP_HEADER_SIZE 12 |
void rtp_done | ( | struct param * | p | ) |
int32_t rtp_init | ( | struct param * | p | ) |
Definition at line 77 of file rtp.c.
References param::dport, init_rng(), param::ip_id, param::my_ssrc, param::rtp_seq, and udp_init4().
Referenced by jpeg_session_start().
int32_t rtp_send_data | ( | struct param * | p, | |
uint32_t | rtp_ts, | |||
int8_t | pt, | |||
int32_t | m, | |||
int8_t * | data, | |||
int32_t | data_len, | |||
unsigned char * | h_buf, | |||
int | h_offset, | |||
int | h_len | |||
) |
Definition at line 134 of file rtp.c.
References buffer, rtp_packet::cc, param::dport, param::dst_addr4, param::fd_raw, param::fd_udp, in_chksum(), param::ip_id, rtp_packet::m, param::msg, param::my_ssrc, rtp_packet::p, rtp_packet::pt, param::raw, RTP_HEADER_SIZE, param::rtp_seq, rtp_packet::seq, SOURCE_UDP_PORT, param::src_addr4, rtp_packet::ssrc, rtp_packet::ts, param::ttl, rtp_packet::v, and rtp_packet::x.
Referenced by send_jpeg().