search for: rtp_socket

Displaying 2 results from an estimated 2 matches for "rtp_socket".

2009 May 18
3
Number of max SIP calls.
...roblems. Problem 1: I got 100 users registered to asterisk from each winsip and then initiates 100 calls from one winsip other winsip. But the problem is approx of 60 calls get mature and asterisk give error for the remaining like shown below. > May 18 14:57:15] WARNING[8314]: rtp.c:2433 rtp_socket: Unable to allocate RTP socket: Too many open files > [May 18 14:57:15] WARNING[8314]: chan_sip.c:6710 sip_alloc: Unable to create RTP audio session: Too many open files > [May 18 14:57:15] ERROR[8314]: acl.c:481 ast_ouraddrfor: Cannot create socket > [May 18 14:57:15] ERROR[8314]: acl.c:4...
2004 Aug 06
0
[RFC] RTP support
...+-+-+-+-+-+-+-+-+-+ + * + */ + +#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; + unsigned long rtp_timestamp=random(); /* random timestamp */ + source_t *source = (source_t *)arg; source_t *fallback_source; cha...