ark::rtsp::RtspClient
Defined in header “ark/rtsp/rtsp_client.hh”.
This is a client meant to communicate with an RTSP server at the highest level; basically just enough to send out requests, start streaming, and get SDP information.
Methods
-
RtspClient(const RtspClientConfiguration & config)
Constructor. Initializes with the given configuration. -
~RtspClient()
Destructor, to cleanup forward declared state. -
std::string describe()
Asks the remote server for a description of its services, typically returning a SDP document. -
void heartbeat()
Sends a heartbeat to the remote server (an empty GET_PARAMETER request). -
RtspSetupResponse setup(const std::string & control, size_t port)
Sets up the remote RTSP server for a playback session, using the given control string (from the SDP document) and port (where you are listening for RTP). -
void play()
Tells the remote RTSP server to begin playing back data.