Displaying 1 result from an estimated 1 matches for "rtp_amount".
Did you mean:
ram_amount
2004 Aug 06
0
[RFC] RTP support
...EG 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 @@
}
#endif
+ /* RTP diffusion initialization, if asked for */
+ if (...