Displaying 1 result from an estimated 1 matches for "rtp_mpeg_hdr_siz".
Did you mean:
rtp_mpeg_hdr_size
2004 Aug 06
0
[RFC] RTP support
...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];
+ int rtp_done,rtp_amount;
+ struct timeval rtp_tv;
+...