Displaying 1 result from an estimated 1 matches for "rtp_sin".
Did you mean:
fp_sin
2004 Aug 06
0
[RFC] RTP support
...ine 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;
+ unsigned long rtp_timestamp=random(); /* random timestamp */
+
source_t *source = (source_t *)arg;
source_t *fallback_source;
char buffer[4096];
@@ -224,6 +269,30...