#include <MNRTCP.h>
Inheritance diagram for MNRTCP:
Public Member Functions | |
virtual | ~MNRTCP () |
RTP_RC | rtcp_start () |
virtual void | rt_set_ssrc (u_int32 ssrc) |
virtual RTP_RC | process_data (MNRope *rope, struct sockaddr_in *dest) |
virtual void | notify_write_enabled () |
int | rtcp_send_app (char *app, int len, int subtype) |
int | rtcp_send_app (MNRTCPPacket_APP *packet) |
void | set_send_buffer (size_t size) |
void | rtcp_set_app_name (const char *name) |
void | set_send_sdes (rtcp_sdes_type_t type, char *text, int prio) |
const sdes_list_item * | rtcp_get_sdes_text (rtcp_sdes_type_t type) |
virtual MNRTCP * | rt_get_rtcp_ptr () |
bool | rtcp_find (u_int32 ssrc) |
sockaddr_in | rtcp_get_ssrc_addr (u_int32 ssrc) |
void | rtcp_reset (u_int32 ssrc) |
SSRCEntry * | rtcp_get_info_ptr (u_int32 ssrc) |
SSRCEntry | rtcp_get_info (u_int32 ssrc) |
u_int32 | rtcp_get_first_ssrc () |
u_int32 | rtcp_get_next_ssrc (u_int32 ssrc) |
void | rtcp_update_recv (rtp_hdr_t *rtp, ntp64 time_, struct sockaddr_in dest) |
void | rtcp_update_recv (MNRTPPacketPtr packet, ntp64 time_, struct sockaddr_in dest) |
void | rtcp_update_send (u_int32 packet_count, u_int32 octet_count, u_int32 ts) |
Protected Member Functions | |
MNRTCP (MNSelector &sel, u_int32 ssrc, int port, int remote_port, OS::GCPtr< MNShared_RTP_RTCP > shared_data, RTSP::TransportTypes requested_transport=RTSP::RTP_AVP_UDP) | |
MNRTCP (MNSelector &sel, u_int32 ssrc, MNSocket &port, int remote_port, OS::GCPtr< MNShared_RTP_RTCP > shared_data, RTSP::TransportTypes requested_transport=RTSP::RTP_AVP_UDP) |
|
Constructor, initializes all variables and flags.
|
|
Constructor, initializes all variables and flags.
|
|
Destructor, releases all resources |
|
This function notifies the queue of outstanding data not yet sent. It is called by RTPbase::writer and it calls MNSocketQueue.send_bytes itself. Implements MNRTPbase.
|
|
This function processes arriving RTCP data. It is called by RTPbase::reader and it calls RTCPreader_cb itself.
Implements MNRTPbase.
|
|
Returns a pointer to the RTCP object itself.
Reimplemented from MNRTPbase.
|
|
Fixes the SSRC that is used by this host for sending on this port.
Reimplemented from MNRTPbase.
|
|
Searches for an SSRC in the list.
|
|
|
|
get a copy of the info on a ssrc |
|
get info about an ssrc |
|
|
|
Returns the text of a stored SDES message. If no matching message is stored, NULL is returned. The caller should not modify the data that is returned because it contains, among other things, length information.
|
|
Returns the IP address of the stored SSRC, if there isn't any, if returns 0 as s_addr instead.
|
|
Clean up structure of the RTCP object after an SSRC collision. Reset the list and send a BYE packet for the SSRC that is kicked. |
|
Sends a ready-made application defined RTCP packet.
|
|
Sends an application defined RTCP packet.
|
|
Defines the name of the application that is sent with an RTCP APP packet's paclet header.
|
|
Computes the timeout for the first RTCP packet and starts the UDP/TCP server thread for RTCP.
|
|
|
|
|
|
updates sender stats and sets the sr flag |
|
Changes the size of the send buffer.
|
|
Add or change an SDES item
|