![]() |
UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
|
#include <BasicRTSPOnlySubsession.hh>


Static Public Member Functions | |
| static BasicRTSPOnlySubsession * | createNew (UsageEnvironment &env, Boolean reuseFirstSource, rtsp_types_t avType, int rtpPort, struct rtsp_server_parameters) |
Protected Member Functions | |
| BasicRTSPOnlySubsession (UsageEnvironment &env, Boolean reuseFirstSource, rtsp_types_t avType, int rtpPort, struct rtsp_server_parameters) | |
| ~BasicRTSPOnlySubsession () override | |
| void | deleteStream (unsigned clientSessionId, void *&streamToken) override |
| void | getRTPSinkandRTCP (void *, const RTPSink *&, const RTCPInstance *&) override |
| void | getStreamParameters (unsigned clientSessionId, struct sockaddr_storage const &clientAddress, Port const &clientRTPPort, Port const &clientRTCPPort, int tcpSocketNum, unsigned char rtpChannelId, unsigned char rtcpChannelId, TLSState *tlsState, struct sockaddr_storage &destinationAddress, uint8_t &destinationTTL, Boolean &isMulticast, Port &serverRTPPort, Port &serverRTCPPort, void *&streamToken) override |
| char const * | sdpLines (int addressFamily) override |
| void | startStream (unsigned clientSessionId, void *streamToken, TaskFunc *rtcpRRHandler, void *rtcpRRHandlerClientData, unsigned short &rtpSeqNum, unsigned &rtpTimestamp, ServerRequestAlternativeByteHandler *serverRequestAlternativeByteHandler, void *serverRequestAlternativeByteHandlerClientData) override |
Protected Attributes | |
| Destinations * | Adestination |
| char * | fSDPLines |
| Destinations * | Vdestination |
Private Member Functions | |
| void | setSDPLines (int addressFamily) |
Private Attributes | |
| rtsp_types_t | avType |
| char | fCNAME [100] |
| MAYBE_UNUSED_ATTRIBUTE void * | fLastStreamToken |
| MAYBE_UNUSED_ATTRIBUTE Boolean | fReuseFirstSource |
| int | rtpPort |
| struct rtsp_server_parameters | rtsp_params |
Definition at line 89 of file BasicRTSPOnlySubsession.hh.
|
protected |
Definition at line 71 of file BasicRTSPOnlySubsession.cpp.
References Adestination, avType, fCNAME, fSDPLines, rtpPort, rtsp_type_audio, rtsp_type_video, setSDPLines(), and Vdestination.
Referenced by createNew().

|
overrideprotected |
Definition at line 91 of file BasicRTSPOnlySubsession.cpp.
References Adestination, fSDPLines, and Vdestination.
|
static |
Definition at line 64 of file BasicRTSPOnlySubsession.cpp.
References BasicRTSPOnlySubsession(), avType, and rtpPort.

|
overrideprotected |
Definition at line 287 of file BasicRTSPOnlySubsession.cpp.
References Adestination, append_message_path(), avType, free_response(), MODULE_CLASS_AUDIO, MODULE_CLASS_NONE, MODULE_CLASS_SENDER, new_message(), rtsp_server_parameters::parent, msg_sender::receiver, rtsp_server_parameters::rtp_port_audio, rtsp_server_parameters::rtp_port_video, rtsp_params, rtsp_type_audio, rtsp_type_video, send_message(), SENDER_MSG_CHANGE_PORT, SENDER_MSG_CHANGE_RECEIVER, msg_sender::tx_port, msg_sender::type, and Vdestination.

|
inlineoverrideprotected |
Definition at line 133 of file BasicRTSPOnlySubsession.hh.
|
overrideprotected |
Definition at line 176 of file BasicRTSPOnlySubsession.cpp.
References Adestination, avType, rtsp_server_parameters::rtp_port_audio, rtsp_server_parameters::rtp_port_video, rtsp_params, rtsp_type_audio, rtsp_type_video, and Vdestination.
|
overrideprotected |
Definition at line 108 of file BasicRTSPOnlySubsession.cpp.
References fSDPLines, and setSDPLines().
Referenced by setSDPLines().

|
private |
Definition at line 115 of file BasicRTSPOnlySubsession.cpp.
References rtsp_server_parameters::adesc, avType, audio_desc::ch_count, audio_desc::codec, media_spec::estBitrate, fSDPLines, get_audio_rtp_pt_rtpmap(), get_codec_name(), get_name_to_audio_codec(), get_video_rtp_pt_rtpmap(), media_params, media_spec::mname, MSG, rtpPort, rtsp_params, rtsp_type_audio, audio_desc::sample_rate, sdpLines(), STR_LEN, and rtsp_server_parameters::video_codec.
Referenced by BasicRTSPOnlySubsession(), and sdpLines().

|
overrideprotected |
Definition at line 206 of file BasicRTSPOnlySubsession.cpp.
References Destinations::addr, Adestination, append_message_path(), avType, free_response(), IN6_MAX_ASCII_LEN, MODULE_CLASS_AUDIO, MODULE_CLASS_NONE, MODULE_CLASS_SENDER, new_message(), rtsp_server_parameters::parent, msg_sender::receiver, Destinations::rtpPort, rtsp_params, rtsp_type_audio, rtsp_type_video, send_message(), SENDER_MSG_CHANGE_PORT, SENDER_MSG_CHANGE_RECEIVER, msg_sender::tx_port, msg_sender::type, and Vdestination.

|
protected |
Definition at line 143 of file BasicRTSPOnlySubsession.hh.
Referenced by BasicRTSPOnlySubsession(), ~BasicRTSPOnlySubsession(), deleteStream(), getStreamParameters(), and startStream().
|
private |
Definition at line 152 of file BasicRTSPOnlySubsession.hh.
Referenced by BasicRTSPOnlySubsession(), createNew(), deleteStream(), getStreamParameters(), setSDPLines(), and startStream().
|
private |
Definition at line 151 of file BasicRTSPOnlySubsession.hh.
Referenced by BasicRTSPOnlySubsession().
|
private |
Definition at line 150 of file BasicRTSPOnlySubsession.hh.
|
private |
Definition at line 149 of file BasicRTSPOnlySubsession.hh.
|
protected |
Definition at line 141 of file BasicRTSPOnlySubsession.hh.
Referenced by BasicRTSPOnlySubsession(), ~BasicRTSPOnlySubsession(), sdpLines(), and setSDPLines().
|
private |
Definition at line 153 of file BasicRTSPOnlySubsession.hh.
Referenced by BasicRTSPOnlySubsession(), createNew(), and setSDPLines().
|
private |
Definition at line 154 of file BasicRTSPOnlySubsession.hh.
Referenced by deleteStream(), getStreamParameters(), setSDPLines(), and startStream().
|
protected |
Definition at line 142 of file BasicRTSPOnlySubsession.hh.
Referenced by BasicRTSPOnlySubsession(), ~BasicRTSPOnlySubsession(), deleteStream(), getStreamParameters(), and startStream().