live
|
#include <MediaSink.hh>
Public Types | |
typedef void() | afterPlayingFunc(void *clientData) |
Public Member Functions | |
Boolean | startPlaying (MediaSource &source, afterPlayingFunc *afterFunc, void *afterClientData) |
virtual void | stopPlaying () |
virtual Boolean | isRTPSink () const |
FramedSource * | source () const |
UsageEnvironment & | envir () const |
char const * | name () const |
virtual Boolean | isSource () const |
virtual Boolean | isRTCPInstance () const |
virtual Boolean | isRTSPClient () const |
virtual Boolean | isRTSPServer () const |
virtual Boolean | isMediaSession () const |
virtual Boolean | isServerMediaSession () const |
Static Public Member Functions | |
static Boolean | lookupByName (UsageEnvironment &env, char const *sinkName, MediaSink *&resultSink) |
static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
static void | close (UsageEnvironment &env, char const *mediumName) |
static void | close (Medium *medium) |
Protected Member Functions | |
MediaSink (UsageEnvironment &env) | |
virtual | ~MediaSink () |
virtual Boolean | sourceIsCompatibleWithUs (MediaSource &source) |
virtual Boolean | continuePlaying ()=0 |
void | onSourceClosure () |
TaskToken & | nextTask () |
Static Protected Member Functions | |
static void | onSourceClosure (void *clientData) |
Protected Attributes | |
FramedSource * | fSource |
Private Member Functions | |
virtual Boolean | isSink () const |
Private Attributes | |
afterPlayingFunc * | fAfterFunc |
void * | fAfterClientData |
UsageEnvironment & | fEnviron |
char | fMediumName [mediumNameMaxLen] |
TaskToken | fNextTask |
Definition at line 28 of file MediaSink.hh.
typedef void() MediaSink::afterPlayingFunc(void *clientData) |
Definition at line 33 of file MediaSink.hh.
|
protected |
|
protectedvirtual |
|
staticinherited |
|
staticinherited |
|
protectedpure virtual |
Implemented in BasicUDPSink, FileSink, H264or5VideoRTPSink, HLSSegmenter, MultiFramedRTPSink, OggFileSink, and T140TextRTPSink.
|
inlineinherited |
Definition at line 59 of file Media.hh.
References Medium::fEnviron.
Referenced by MediaSubsession::env(), GenericMediaServer::ClientConnection::envir(), GenericMediaServer::ClientSession::envir(), and RTPInterface::envir().
|
virtualinherited |
Reimplemented in MediaSession.
|
virtualinherited |
Reimplemented in RTCPInstance.
|
virtualinherited |
Reimplemented in RTSPClient.
|
virtualinherited |
Reimplemented in RTSPServer.
|
virtualinherited |
Reimplemented in ServerMediaSession.
|
virtualinherited |
Reimplemented in MediaSource.
|
staticinherited |
|
static |
|
inlineinherited |
|
inlineprotectedinherited |
Definition at line 77 of file Media.hh.
References Medium::fNextTask.
|
protected |
|
staticprotected |
|
inline |
|
protectedvirtual |
Reimplemented in AMRAudioFileSink, AMRAudioRTPSink, DVVideoRTPSink, H264VideoRTPSink, H265VideoRTPSink, HLSSegmenter, JPEGVideoRTPSink, MPEG1or2VideoRTPSink, and MPEG4ESVideoRTPSink.
Boolean MediaSink::startPlaying | ( | MediaSource & | source, |
afterPlayingFunc * | afterFunc, | ||
void * | afterClientData | ||
) |
|
virtual |
Reimplemented in MultiFramedRTPSink.
|
private |
Definition at line 67 of file MediaSink.hh.
|
private |
Definition at line 66 of file MediaSink.hh.
|
privateinherited |
Definition at line 82 of file Media.hh.
Referenced by Medium::envir().
|
privateinherited |
Definition at line 83 of file Media.hh.
Referenced by Medium::name().
|
privateinherited |
Definition at line 84 of file Media.hh.
Referenced by Medium::nextTask().
|
protected |
Definition at line 58 of file MediaSink.hh.
Referenced by source().