search for: rtp_hdr_size

Displaying 1 result from an estimated 1 matches for "rtp_hdr_size".

2004 Aug 06
0
[RFC] RTP support
...=+=+=+=+=+=+=+=+ + * | contributing source (CSRC) identifiers | + * | .... | + * +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + * + */ + +#define RTP_PKT_SIZE 1500 + +/** RTP header size */ +#define RTP_HDR_SIZE 12 +/** RTP MPEG header size */ +#define RTP_MPEG_HDR_SIZE 4 +/** RTP CSRC list entry size */ +#define RTP_CSRC_SIZE 4 + +#define RTP_MPEG_CLK 90000 void *source_main(void *arg) { + int rtp_socket; + struct sockaddr_in rtp_sin; + unsigned char on=1; + char rtp_buf[RTP_PKT_SIZE]; +...