#include <OStreamOnDemandSMS.hh>
Collaboration diagram for OStreamOnDemandSMS:
Definition at line 42 of file OStreamOnDemandSMS.hh.
Public Member Functions | |
virtual | ~OStreamOnDemandSMS () |
Static Public Member Functions | |
static OStreamOnDemandSMS * | createNew (UsageEnvironment &env, bool reuseFirstSource, BaseInputVideo *input_video, int encoding_type, int audio_port, int stream_id=0) |
Static method. | |
Private Member Functions | |
OStreamOnDemandSMS (UsageEnvironment &env, bool reuseFirstSource, BaseInputVideo *input_video, int audio_port, int encoding_type, int stream_id) | |
Contructor. | |
virtual FramedSource * | createNewStreamSource (unsigned clientSessionId, unsigned &estBitrate) |
Creates a new stream source. | |
virtual RTPSink * | createNewRTPSink (Groupsock *rtpGroupsock, unsigned char rtpPayloadTypeIfDynamic, FramedSource *inputSource) |
Creates a new RTP sink. | |
Private Attributes | |
BaseInputVideo * | _input_video |
BaseInputVideo instance. | |
int | _encoding_type |
Encoding type. | |
int | _stream_id |
Stream id. | |
int | _audio_port |
Audio port mapped by the system. |
OStreamOnDemandSMS::~OStreamOnDemandSMS | ( | ) | [virtual] |
OStreamOnDemandSMS::OStreamOnDemandSMS | ( | UsageEnvironment & | env, | |
bool | reuseFirstSource, | |||
BaseInputVideo * | input_video, | |||
int | audio_port, | |||
int | encoding_type, | |||
int | stream_id | |||
) | [private] |
Definition at line 24 of file OStreamOnDemandSMS.cpp.
Referenced by createNew().
Here is the caller graph for this function:
OStreamOnDemandSMS * OStreamOnDemandSMS::createNew | ( | UsageEnvironment & | env, | |
bool | reuseFirstSource, | |||
BaseInputVideo * | input_video, | |||
int | encoding_type, | |||
int | audio_port, | |||
int | stream_id = 0 | |||
) | [static] |
env | UsageEnvironment, see LiveMedia doc. here http://www.live555.com/liveMedia/public/doxygen/html | |
reuseFirstSource | Should the class reuse the source when finished another one? | |
input_video | A BaseInputVideo class, can be a MultiVideoSource or a SingleVideoSource kind of class. | |
encoding_type | A wrapper enum to use OStream encoding parameters. | |
audio_port | Audio port mapped from the system. It is used only if input_video is NULL, and viceversa | |
stream_id | Stream id. Defaults to 0. |
Definition at line 39 of file OStreamOnDemandSMS.cpp.
References OStreamOnDemandSMS().
Referenced by OStreamUCast::createServerMediaSession().
Here is the call graph for this function:
Here is the caller graph for this function:
RTPSink * OStreamOnDemandSMS::createNewRTPSink | ( | Groupsock * | rtpGroupsock, | |
unsigned char | rtpPayloadTypeIfDynamic, | |||
FramedSource * | inputSource | |||
) | [private, virtual] |
rtpGroupsock | ||
rtpPayloadTypeIfDynamic | ||
inputSource |
Definition at line 98 of file OStreamOnDemandSMS.cpp.
References _encoding_type, DEBUG_PRINT, NULL, OSTREAM_ENCODING_H263P, OSTREAM_ENCODING_MJPEG, and OSTREAM_ENCODING_MP3.
FramedSource * OStreamOnDemandSMS::createNewStreamSource | ( | unsigned | clientSessionId, | |
unsigned & | estBitrate | |||
) | [private, virtual] |
clientSessionId | ||
estBitrate | It's the stream's estimated bitrate, in kbps. |
Definition at line 52 of file OStreamOnDemandSMS.cpp.
References _audio_port, _encoding_type, _input_video, _stream_id, MP3FromPCM::createNew(), H263plusVideoSource::createNew(), MJPEGVideoSource::createNew(), NULL, OSTREAM_ENCODING_H263P, OSTREAM_ENCODING_MJPEG, and OSTREAM_ENCODING_MP3.
Here is the call graph for this function:
int OStreamOnDemandSMS::_audio_port [private] |
int OStreamOnDemandSMS::_encoding_type [private] |
Definition at line 101 of file OStreamOnDemandSMS.hh.
Referenced by createNewRTPSink(), and createNewStreamSource().
BaseInputVideo* OStreamOnDemandSMS::_input_video [private] |
int OStreamOnDemandSMS::_stream_id [private] |