|
Functions | |
| rtp_ssrc * | rtp_active_ssrc_queue (rtp_session *rtp_sess_head) |
| rtp_ssrc * | rtp_next_active_ssrc (rtp_ssrc *ssrc) |
| int | rtp_ssrc_check (rtp_session *, uint32_t, rtp_ssrc **, nms_sockaddr *, enum rtp_protos) |
| int | rtp_ssrc_init (rtp_session *, rtp_ssrc **, uint32_t, nms_sockaddr *, enum rtp_protos) |
| rtp_ssrc* rtp_active_ssrc_queue | ( | rtp_session * | rtp_sess_head | ) |
Gets the queue of active sources
| rtp_sess_head | The head of the rtp session queue. Can be retrieved from the RTSP controller with rtsp_get_rtp_queue |
Definition at line 37 of file rtp_ssrc_queue.c.
Referenced by rtp_session_get_ssrc().
| rtp_ssrc* rtp_next_active_ssrc | ( | rtp_ssrc * | ssrc | ) |
Gets the next active source
| ssrc | The source from which to retrieve the subsequent source |
Definition at line 53 of file rtp_ssrc_queue.c.
Referenced by rtp_session_get_ssrc().
| int rtp_ssrc_check | ( | rtp_session * | rtp_sess, | |
| uint32_t | ssrc, | |||
| rtp_ssrc ** | stm_src, | |||
| nms_sockaddr * | recfrom, | |||
| enum rtp_protos | proto_type | |||
| ) |
Checks the ssrc of incoming packets and creates a new synchronization source if it wasn't already known.
| rtp_sess | The session for which to create the synchronization source | |
| ssrc | The RTP SSRC value | |
| stm_ssrc | Where to create the new synchronization source if it isn't already known | |
| recfrom | The link to check for the packets with the ssrc | |
| proto_type | The type of protocol used by the link |
Definition at line 214 of file rtp_ssrc_queue.c.
References poinit(), and rtp_ssrc_init().
Referenced by rtcp_recv(), and rtp_recv().

| int rtp_ssrc_init | ( | rtp_session * | rtp_sess, | |
| rtp_ssrc ** | stm_src, | |||
| uint32_t | ssrc, | |||
| nms_sockaddr * | recfrom, | |||
| enum rtp_protos | proto_type | |||
| ) |
Initializes a new synchronization source and appens it to the queue
| rtp_sess | The RTP session for which to create the new source | |
| stm_src | A pointer to the pointer to initialize with the new source | |
| ssrc | The RTP ssrc value from which to create the source | |
| recfrom | The link from which to receive the data for the source | |
| proto_type | The protocol type for the source |
Definition at line 125 of file rtp_ssrc_queue.c.
Referenced by rtp_ssrc_check().
1.5.4