#include <RtspPlayer.h>
Inheritance diagram for RtspPlayer:
Public Member Functions | |
RtspPlayer (MNSelector &sel) | |
virtual | ~RtspPlayer () |
virtual void | run () |
void | call () |
bool | send_describe (const char *url) |
bool | send_setup () |
bool | send_play (int from, int to) |
bool | send_pause () |
bool | send_resume (int pos) |
void | call_stop (int pos) |
bool | call_close () |
void | call_uninit () |
bool | wait_describe_response () |
bool | wait_setup_response () |
bool | wait_play_response () |
bool | wait_pause_response () |
bool | wait_resume_response () |
bool | wait_stop_response () |
const char * | getLastError () const |
bool | call_set_notify (bool trigger) |
bool | is_multiplexed_stream () |
SDP::PayloadTypes | get_internal_pt () |
SDP::PayloadTypes | get_internal_pt (int idx) |
int | get_rtp_pt (int idx) |
const char * | getConfig (int idx, int pt) |
unsigned int | getConfigSize (int idx, int pt) |
unsigned | getRate (int idx, int pt) |
unsigned | getNumChannels (int idx, int pt) |
int | checkBuffer () |
int | fillBuffer (unsigned char *buffer, int length) |
int | checkBuffer (int idx) |
int | fillBuffer (int idx, unsigned char *buffer, int length) |
bool | hasBeenSynchronized (int idx) |
void | getPT (int idx, struct timeval &resPT) |
int | getSessionsSetup () |
SDP::MNMediaType | getMediaType (int idx) |
Protected Member Functions | |
virtual void | init_stage_2 () |
MNRTSPClient::init_state_2. | |
virtual void | open_stage_2 () |
MNRTSPClient::open_state_2. | |
virtual void | play_stage_2 () |
MNRTSPClient::play_state_2. | |
virtual void | pause_stage_2 () |
MNRTSPClient::pause_stage_2. | |
virtual void | stop_stage_2 () |
MNRTSPClient::stop_state_2. | |
virtual void | init_stage_2_failed (const char *file, int line, const char *text) |
MNRTSPClient::init_state_2_failed. | |
virtual void | open_stage_2_failed (const char *file, int line, const char *text) |
MNRTSPClient::open_state_2_failed. | |
virtual void | play_stage_2_failed (const char *file, int line, const char *text) |
MNRTSPClient::play_state_2_failed. | |
virtual void | pause_stage_2_failed (const char *file, int line, const char *text) |
MNRTSPClient::pause_stage_2_failed. | |
virtual void | stop_stage_2_failed (const char *file, int line, const char *text) |
MNRTSPClient::stop_state_2_failed. | |
virtual void | unknown_stage_2 (const char *file, int line, const char *text) |
MNRTSPClient::unknown_stage_2. |
|
|
|
|
|
|
|
|
|
Called by the GUI to ask the decoder for a notification when the current stream ends. The immediate response is ok or fail. The actual notification is out of band. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the internal payload type for a given subsession index.
|
|
|
|
Returns the payload type as sent by RTP for a given subsession index.
|
|
Returns configuration information of subsession as delivered in the SDP media description. Required by mplayer.
|
|
Returns size of configuration information. |
|
|
|
Returns the media type of a given subsession of a presentation. |
|
Returns number of channels (only relevant for audio payload types) |
|
|
|
Returns default rate of a given subsession and payload type. |
|
Returns number of sessions setup sucessfully. |
|
|
|
MNRTSPClient::init_state_2.
Implements MNRTSPClient.
|
|
MNRTSPClient::init_state_2_failed.
Implements MNRTSPClient.
|
|
|
|
MNRTSPClient::open_state_2.
Implements MNRTSPClient.
|
|
MNRTSPClient::open_state_2_failed.
Implements MNRTSPClient.
|
|
MNRTSPClient::pause_stage_2.
Implements MNRTSPClient.
|
|
MNRTSPClient::pause_stage_2_failed.
Implements MNRTSPClient.
|
|
MNRTSPClient::play_state_2.
Implements MNRTSPClient.
|
|
MNRTSPClient::play_state_2_failed.
Implements MNRTSPClient.
|
|
Implements MNThread.
|
|
|
|
|
|
|
|
|
|
|
|
MNRTSPClient::stop_state_2.
Implements MNRTSPClient.
|
|
MNRTSPClient::stop_state_2_failed.
Implements MNRTSPClient.
|
|
MNRTSPClient::unknown_stage_2.
Implements MNRTSPClient.
|
|
|
|
|
|
|
|
|
|
|
|
|