live
|
#include <RTPSource.hh>
Public Types | |
typedef void() | afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
typedef void() | onCloseFunc(void *clientData) |
Static Public Member Functions | |
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, RTPSource *&resultSource) |
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, FramedSource *&resultSource) |
static Boolean | lookupByName (UsageEnvironment &env, char const *sourceName, MediaSource *&resultSource) |
static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
static void | handleClosure (void *clientData) |
static void | afterGetting (FramedSource *source) |
static void | close (UsageEnvironment &env, char const *mediumName) |
static void | close (Medium *medium) |
Protected Member Functions | |
RTPSource (UsageEnvironment &env, Groupsock *RTPgs, unsigned char rtpPayloadFormat, u_int32_t rtpTimestampFrequency) | |
virtual | ~RTPSource () |
virtual void | doStopGettingFrames () |
TaskToken & | nextTask () |
Protected Attributes | |
RTPInterface | fRTPInterface |
u_int16_t | fCurPacketRTPSeqNum |
u_int32_t | fCurPacketRTPTimestamp |
Boolean | fCurPacketMarkerBit |
Boolean | fCurPacketHasBeenSynchronizedUsingRTCP |
u_int32_t | fLastReceivedSSRC |
class RTCPInstance * | fRTCPInstanceForMultiplexedRTCPPackets |
SRTPCryptographicContext * | fCrypto |
unsigned char * | fTo |
unsigned | fMaxSize |
unsigned | fFrameSize |
unsigned | fNumTruncatedBytes |
struct timeval | fPresentationTime |
unsigned | fDurationInMicroseconds |
Private Member Functions | |
u_int32_t | curPacketRTPTimestamp () const |
virtual Boolean | isRTPSource () const |
virtual void | getAttributes () const |
virtual Boolean | isFramedSource () const |
virtual Boolean | isSource () const |
Private Attributes | |
unsigned char | fRTPPayloadFormat |
unsigned | fTimestampFrequency |
u_int32_t | fSSRC |
Boolean | fEnableRTCPReports |
RTPReceptionStatsDB * | fReceptionStatsDB |
afterGettingFunc * | fAfterGettingFunc |
void * | fAfterGettingClientData |
onCloseFunc * | fOnCloseFunc |
void * | fOnCloseClientData |
Boolean | fIsCurrentlyAwaitingData |
UsageEnvironment & | fEnviron |
char | fMediumName [mediumNameMaxLen] |
TaskToken | fNextTask |
Friends | |
class | MediaSubsession |
Definition at line 36 of file RTPSource.hh.
|
inherited |
Definition at line 36 of file FramedSource.hh.
|
inherited |
Definition at line 40 of file FramedSource.hh.
|
protected |
|
protectedvirtual |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
inline |
|
inline |
|
inlineprivate |
|
inline |
Definition at line 60 of file RTPSource.hh.
References NULL, and registerForMultiplexedRTCPPackets().
|
pure virtualinherited |
Implemented in AC3AudioStreamFramer, ADTSAudioFileSource, ADTSAudioStreamDiscreteFramer, AMRAudioFileSource, BasicUDPSource, ByteStreamFileSource, ByteStreamMemoryBufferSource, ByteStreamMultiFileSource, DeviceSource, DVVideoStreamFramer, H263plusVideoStreamFramer, H264or5VideoStreamDiscreteFramer, H264or5VideoStreamFramer, ADUFromMP3Source, MP3FromADUSource, MP3ADUinterleaver, MP3ADUdeinterleaver, MP3ADUTranscoder, MP3FileSource, MPEG1or2AudioStreamFramer, MPEG1or2DemuxedElementaryStream, MPEG1or2VideoStreamDiscreteFramer, MPEG2IFrameIndexFromTransportStream, MPEG2TransportStreamAccumulator, MPEG2TransportStreamFramer, MPEG2TransportStreamMultiplexor, MPEG2TransportStreamTrickModeFilter, MPEG4VideoStreamDiscreteFramer, MPEGVideoStreamFramer, MultiFramedRTPSource, PresentationTimeSubsessionNormalizer, T140IdleFilter, uLawFromPCMAudioSource, PCMFromuLawAudioSource, NetworkFromHostOrder16, HostFromNetworkOrder16, EndianSwap16, EndianSwap24, WAVAudioFileSource, MatroskaDemuxedTrack, MPEG2TransportStreamDemuxedTrack, and OggDemuxedTrack.
|
protectedvirtualinherited |
Reimplemented in BasicUDPSource, ByteStreamFileSource, FramedFilter, MPEG1or2DemuxedElementaryStream, MPEG2TransportStreamFramer, MPEG2TransportStreamFromESSource, MPEG2TransportStreamFromPESSource, MPEG2TransportStreamTrickModeFilter, MPEGVideoStreamFramer, MultiFramedRTPSource, T140IdleFilter, WAVAudioFileSource, and MatroskaDemuxedTrack.
|
inline |
|
inline |
|
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().
|
privatevirtual |
Reimplemented from MediaSource.
|
inherited |
|
inherited |
|
staticinherited |
|
virtual |
|
virtualinherited |
Reimplemented in AMRAudioSource.
|
inlineinherited |
Definition at line 61 of file FramedSource.hh.
References FramedSource::fIsCurrentlyAwaitingData.
|
virtualinherited |
Reimplemented in DVVideoStreamFramer.
|
privatevirtualinherited |
Reimplemented from MediaSource.
|
virtualinherited |
Reimplemented in H264VideoStreamDiscreteFramer, and H264VideoStreamFramer.
|
virtualinherited |
Reimplemented in H265VideoStreamDiscreteFramer, and H265VideoStreamFramer.
|
virtualinherited |
Reimplemented in JPEGVideoSource.
|
virtualinherited |
Reimplemented in MediaSession.
|
virtualinherited |
Reimplemented in MPEG1or2VideoStreamFramer.
|
virtualinherited |
Reimplemented in MPEG2TransportStreamMultiplexor.
|
virtualinherited |
Reimplemented in MPEG4VideoStreamFramer.
|
virtualinherited |
Reimplemented in RTCPInstance.
|
privatevirtual |
Reimplemented from MediaSource.
|
virtualinherited |
Reimplemented in RTSPClient.
|
virtualinherited |
Reimplemented in RTSPServer.
|
virtualinherited |
Reimplemented in ServerMediaSession.
|
inline |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
static |
|
virtualinherited |
Reimplemented in BasicUDPSource, and MPEG1or2DemuxedElementaryStream.
|
virtualinherited |
Reimplemented in AC3AudioRTPSource, AMRAudioSource, DVVideoRTPSource, FramedFilter, H261VideoRTPSource, H263plusVideoRTPSource, H264VideoRTPSource, H265VideoRTPSource, JPEG2000VideoRTPSource, JPEGVideoRTPSource, ADUFromMP3Source, MP3FromADUSource, MP3ADURTPSource, MP3FileSource, MPEG1or2AudioRTPSource, MPEG1or2DemuxedElementaryStream, MPEG1or2VideoRTPSource, MPEG4ESVideoRTPSource, MPEG4GenericRTPSource, MPEG4LATMAudioRTPSource, QuickTimeGenericRTPSource, RawVideoRTPSource, SimpleRTPSource, TheoraVideoRTPSource, VorbisAudioRTPSource, VP8VideoRTPSource, VP9VideoRTPSource, MatroskaDemuxedTrack, and OggDemuxedTrack.
|
inlineinherited |
|
inlineprotectedinherited |
Definition at line 77 of file Media.hh.
References Medium::fNextTask.
|
inline |
|
inline |
Definition at line 57 of file RTPSource.hh.
References fRTCPInstanceForMultiplexedRTCPPackets.
Referenced by deregisterForMultiplexedRTCPPackets().
|
inline |
|
inline |
|
inline |
Definition at line 79 of file RTPSource.hh.
References fRTPInterface, and RTPInterface::setAuxilliaryReadHandler().
|
inline |
|
pure virtual |
Implemented in MultiFramedRTPSource.
|
inline |
Definition at line 74 of file RTPSource.hh.
References fRTPInterface, and RTPInterface::setStreamSocket().
|
inline |
|
inherited |
|
inline |
|
friend |
Definition at line 89 of file RTPSource.hh.
|
privateinherited |
Definition at line 88 of file FramedSource.hh.
|
privateinherited |
Definition at line 87 of file FramedSource.hh.
|
protected |
Definition at line 106 of file RTPSource.hh.
Referenced by setCrypto().
|
protected |
Definition at line 103 of file RTPSource.hh.
|
protected |
Definition at line 102 of file RTPSource.hh.
Referenced by curPacketMarkerBit().
|
protected |
Definition at line 100 of file RTPSource.hh.
Referenced by curPacketRTPSeqNum().
|
protected |
Definition at line 101 of file RTPSource.hh.
Referenced by curPacketRTPTimestamp().
|
protectedinherited |
Definition at line 80 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::durationInMicroseconds(), and OggDemuxedTrack::durationInMicroseconds().
|
private |
Definition at line 117 of file RTPSource.hh.
Referenced by enableRTCPReports().
|
privateinherited |
Definition at line 82 of file Media.hh.
Referenced by Medium::envir().
|
protectedinherited |
Definition at line 77 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::frameSize(), MPEG2TransportStreamDemuxedTrack::frameSize(), and OggDemuxedTrack::frameSize().
|
privateinherited |
Definition at line 92 of file FramedSource.hh.
Referenced by FramedSource::isCurrentlyAwaitingData().
|
protected |
Definition at line 104 of file RTPSource.hh.
Referenced by lastReceivedSSRC().
|
protectedinherited |
Definition at line 76 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::maxSize(), MPEG2TransportStreamDemuxedTrack::maxSize(), and OggDemuxedTrack::maxSize().
|
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().
|
protectedinherited |
Definition at line 78 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::numTruncatedBytes(), MPEG2TransportStreamDemuxedTrack::numTruncatedBytes(), and OggDemuxedTrack::numTruncatedBytes().
|
privateinherited |
Definition at line 90 of file FramedSource.hh.
|
privateinherited |
Definition at line 89 of file FramedSource.hh.
|
protectedinherited |
Definition at line 79 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::presentationTime(), MPEG2TransportStreamDemuxedTrack::presentationTime(), and OggDemuxedTrack::presentationTime().
|
private |
Definition at line 119 of file RTPSource.hh.
Referenced by receptionStatsDB().
|
protected |
Definition at line 105 of file RTPSource.hh.
Referenced by registerForMultiplexedRTCPPackets().
|
protected |
Definition at line 99 of file RTPSource.hh.
Referenced by RTPgs(), setAuxilliaryReadHandler(), and setStreamSocket().
|
private |
Definition at line 114 of file RTPSource.hh.
Referenced by rtpPayloadFormat().
|
private |
Definition at line 116 of file RTPSource.hh.
Referenced by SSRC().
|
private |
Definition at line 115 of file RTPSource.hh.
Referenced by timestampFrequency().
|
protectedinherited |
Definition at line 75 of file FramedSource.hh.
Referenced by MatroskaDemuxedTrack::to(), MPEG2TransportStreamDemuxedTrack::to(), and OggDemuxedTrack::to().