live
|
#include <ADTSAudioFileServerMediaSubsession.hh>
Public Member Functions | |
void | multiplexRTCPWithRTP () |
void | setRTCPAppPacketHandler (RTCPAppHandlerFunc *handler, void *clientData) |
void | sendRTCPAppPacket (u_int8_t subtype, char const *name, u_int8_t *appDependentData, unsigned appDependentDataSize) |
unsigned | trackNumber () const |
char const * | trackId () |
virtual void | testScaleFactor (float &scale) |
virtual float | duration () const |
virtual void | getAbsoluteTimeRange (char *&absStartTime, char *&absEndTime) const |
UsageEnvironment & | envir () const |
char const * | name () const |
virtual Boolean | isSource () const |
virtual Boolean | isSink () 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 ADTSAudioFileServerMediaSubsession * | createNew (UsageEnvironment &env, char const *fileName, Boolean reuseFirstSource) |
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 | |
ADTSAudioFileServerMediaSubsession (UsageEnvironment &env, char const *fileName, Boolean reuseFirstSource) | |
virtual | ~ADTSAudioFileServerMediaSubsession () |
virtual FramedSource * | createNewStreamSource (unsigned clientSessionId, unsigned &estBitrate) |
virtual RTPSink * | createNewRTPSink (Groupsock *rtpGroupsock, unsigned char rtpPayloadTypeIfDynamic, FramedSource *inputSource) |
virtual char const * | sdpLines (int addressFamily) |
virtual 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, u_int8_t &destinationTTL, Boolean &isMulticast, Port &serverRTPPort, Port &serverRTCPPort, void *&streamToken) |
virtual void | startStream (unsigned clientSessionId, void *streamToken, TaskFunc *rtcpRRHandler, void *rtcpRRHandlerClientData, unsigned short &rtpSeqNum, unsigned &rtpTimestamp, ServerRequestAlternativeByteHandler *serverRequestAlternativeByteHandler, void *serverRequestAlternativeByteHandlerClientData) |
virtual void | pauseStream (unsigned clientSessionId, void *streamToken) |
virtual void | seekStream (unsigned clientSessionId, void *streamToken, double &seekNPT, double streamDuration, u_int64_t &numBytes) |
virtual void | seekStream (unsigned clientSessionId, void *streamToken, char *&absStart, char *&absEnd) |
virtual void | nullSeekStream (unsigned clientSessionId, void *streamToken, double streamEndTime, u_int64_t &numBytes) |
virtual void | setStreamScale (unsigned clientSessionId, void *streamToken, float scale) |
virtual float | getCurrentNPT (void *streamToken) |
virtual FramedSource * | getStreamSource (void *streamToken) |
virtual void | getRTPSinkandRTCP (void *streamToken, RTPSink *&rtpSink, RTCPInstance *&rtcp) |
virtual void | deleteStream (unsigned clientSessionId, void *&streamToken) |
virtual char const * | getAuxSDPLine (RTPSink *rtpSink, FramedSource *inputSource) |
virtual void | seekStreamSource (FramedSource *inputSource, double &seekNPT, double streamDuration, u_int64_t &numBytes) |
virtual void | seekStreamSource (FramedSource *inputSource, char *&absStart, char *&absEnd) |
virtual void | setStreamSourceScale (FramedSource *inputSource, float scale) |
virtual void | setStreamSourceDuration (FramedSource *inputSource, double streamDuration, u_int64_t &numBytes) |
virtual void | closeStreamSource (FramedSource *inputSource) |
virtual Groupsock * | createGroupsock (struct sockaddr_storage const &addr, Port port) |
virtual RTCPInstance * | createRTCP (Groupsock *RTCPgs, unsigned totSessionBW, unsigned char const *cname, RTPSink *sink) |
void | setSDPLinesFromRTPSink (RTPSink *rtpSink, FramedSource *inputSource, unsigned estBitrate) |
char const * | rangeSDPLine () const |
TaskToken & | nextTask () |
Protected Attributes | |
char const * | fFileName |
u_int64_t | fFileSize |
char * | fSDPLines |
u_int8_t * | fMIKEYStateMessage |
unsigned | fMIKEYStateMessageSize |
HashTable * | fDestinationsHashTable |
ServerMediaSession * | fParentSession |
Private Attributes | |
Boolean | fReuseFirstSource |
portNumBits | fInitialPortNum |
Boolean | fMultiplexRTCPWithRTP |
void * | fLastStreamToken |
char | fCNAME [100] |
RTCPAppHandlerFunc * | fAppHandlerTask |
void * | fAppHandlerClientData |
ServerMediaSubsession * | fNext |
unsigned | fTrackNumber |
char const * | fTrackId |
UsageEnvironment & | fEnviron |
char | fMediumName [mediumNameMaxLen] |
TaskToken | fNextTask |
Definition at line 29 of file ADTSAudioFileServerMediaSubsession.hh.
|
protected |
|
protectedvirtual |
|
staticinherited |
|
staticinherited |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
static |
|
protectedvirtual |
Implements OnDemandServerMediaSubsession.
|
protectedvirtual |
Implements OnDemandServerMediaSubsession.
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
Reimplemented in MPEG2TransportFileServerMediaSubsession.
|
virtualinherited |
|
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 |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
|
protectedvirtualinherited |
Implements ServerMediaSubsession.
|
protectedvirtualinherited |
Implements ServerMediaSubsession.
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
|
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 |
|
inlineinherited |
Definition at line 110 of file OnDemandServerMediaSubsession.hh.
References OnDemandServerMediaSubsession::fMultiplexRTCPWithRTP, and True.
|
inlineinherited |
|
inlineprotectedinherited |
Definition at line 77 of file Media.hh.
References Medium::fNextTask.
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
Reimplemented in MPEG2TransportFileServerMediaSubsession.
|
protectedinherited |
|
protectedvirtualinherited |
Implements ServerMediaSubsession.
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
Reimplemented in MPEG2TransportFileServerMediaSubsession.
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedvirtualinherited |
Reimplemented from ServerMediaSubsession.
Reimplemented in MPEG2TransportFileServerMediaSubsession.
|
protectedvirtualinherited |
Reimplemented in DVVideoFileServerMediaSubsession, and WAVAudioFileServerMediaSubsession.
|
protectedvirtualinherited |
Reimplemented in MP3AudioFileServerMediaSubsession, and WAVAudioFileServerMediaSubsession.
|
protectedvirtualinherited |
Implements ServerMediaSubsession.
Reimplemented in MPEG2TransportFileServerMediaSubsession.
|
virtualinherited |
|
inherited |
|
inlineinherited |
Definition at line 125 of file ServerMediaSession.hh.
References ServerMediaSubsession::fTrackNumber.
|
privateinherited |
Definition at line 147 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 146 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 145 of file OnDemandServerMediaSubsession.hh.
|
protectedinherited |
Definition at line 138 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 82 of file Media.hh.
Referenced by Medium::envir().
|
protectedinherited |
Definition at line 39 of file FileServerMediaSubsession.hh.
|
protectedinherited |
Definition at line 40 of file FileServerMediaSubsession.hh.
|
privateinherited |
Definition at line 142 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 144 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 83 of file Media.hh.
Referenced by Medium::name().
|
protectedinherited |
Definition at line 136 of file OnDemandServerMediaSubsession.hh.
|
protectedinherited |
Definition at line 137 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 143 of file OnDemandServerMediaSubsession.hh.
Referenced by OnDemandServerMediaSubsession::multiplexRTCPWithRTP().
|
privateinherited |
Definition at line 194 of file ServerMediaSession.hh.
|
privateinherited |
Definition at line 84 of file Media.hh.
Referenced by Medium::nextTask().
|
protectedinherited |
Definition at line 189 of file ServerMediaSession.hh.
|
privateinherited |
Definition at line 141 of file OnDemandServerMediaSubsession.hh.
|
protectedinherited |
Definition at line 135 of file OnDemandServerMediaSubsession.hh.
|
privateinherited |
Definition at line 197 of file ServerMediaSession.hh.
|
privateinherited |
Definition at line 196 of file ServerMediaSession.hh.
Referenced by ServerMediaSubsession::trackNumber().