#include <ByteStreamFileSource.hh>
|
typedef void() | afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
typedef void() | onCloseFunc(void *clientData) |
|
|
static ByteStreamFileSource * | createNew (UsageEnvironment &env, char const *fileName, unsigned preferredFrameSize=0, unsigned playTimePerFrame=0) |
|
static ByteStreamFileSource * | createNew (UsageEnvironment &env, FILE *fid, unsigned preferredFrameSize=0, unsigned playTimePerFrame=0) |
|
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) |
|
Definition at line 28 of file ByteStreamFileSource.hh.
◆ afterGettingFunc
typedef void() FramedSource::afterGettingFunc(void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
inherited |
◆ onCloseFunc
typedef void() FramedSource::onCloseFunc(void *clientData) |
|
inherited |
◆ ByteStreamFileSource()
ByteStreamFileSource::ByteStreamFileSource |
( |
UsageEnvironment & |
env, |
|
|
FILE * |
fid, |
|
|
unsigned |
preferredFrameSize, |
|
|
unsigned |
playTimePerFrame |
|
) |
| |
|
protected |
◆ ~ByteStreamFileSource()
virtual ByteStreamFileSource::~ByteStreamFileSource |
( |
| ) |
|
|
protectedvirtual |
◆ afterGetting()
static void FramedSource::afterGetting |
( |
FramedSource * |
source | ) |
|
|
staticinherited |
◆ close() [1/2]
static void Medium::close |
( |
Medium * |
medium | ) |
|
|
staticinherited |
◆ close() [2/2]
◆ createNew() [1/2]
◆ createNew() [2/2]
◆ doGetNextFrame()
virtual void ByteStreamFileSource::doGetNextFrame |
( |
| ) |
|
|
privatevirtual |
◆ doReadFromFile()
void ByteStreamFileSource::doReadFromFile |
( |
| ) |
|
|
protected |
◆ doStopGettingFrames()
virtual void ByteStreamFileSource::doStopGettingFrames |
( |
| ) |
|
|
privatevirtual |
◆ envir()
◆ fileReadableHandler()
◆ fileSize()
u_int64_t ByteStreamFileSource::fileSize |
( |
| ) |
const |
|
inline |
◆ getAttributes()
virtual void MediaSource::getAttributes |
( |
| ) |
const |
|
virtualinherited |
◆ getNextFrame()
void FramedSource::getNextFrame |
( |
unsigned char * |
to, |
|
|
unsigned |
maxSize, |
|
|
afterGettingFunc * |
afterGettingFunc, |
|
|
void * |
afterGettingClientData, |
|
|
onCloseFunc * |
onCloseFunc, |
|
|
void * |
onCloseClientData |
|
) |
| |
|
inherited |
◆ handleClosure() [1/2]
void FramedSource::handleClosure |
( |
| ) |
|
|
inherited |
◆ handleClosure() [2/2]
static void FramedSource::handleClosure |
( |
void * |
clientData | ) |
|
|
staticinherited |
◆ isAMRAudioSource()
virtual Boolean MediaSource::isAMRAudioSource |
( |
| ) |
const |
|
virtualinherited |
◆ isCurrentlyAwaitingData()
Boolean FramedSource::isCurrentlyAwaitingData |
( |
| ) |
const |
|
inlineinherited |
◆ isDVVideoStreamFramer()
virtual Boolean MediaSource::isDVVideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isFramedSource()
virtual Boolean FramedSource::isFramedSource |
( |
| ) |
const |
|
privatevirtualinherited |
◆ isH264VideoStreamFramer()
virtual Boolean MediaSource::isH264VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isH265VideoStreamFramer()
virtual Boolean MediaSource::isH265VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isJPEGVideoSource()
virtual Boolean MediaSource::isJPEGVideoSource |
( |
| ) |
const |
|
virtualinherited |
◆ isMediaSession()
virtual Boolean Medium::isMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isMPEG1or2VideoStreamFramer()
virtual Boolean MediaSource::isMPEG1or2VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isMPEG2TransportStreamMultiplexor()
virtual Boolean MediaSource::isMPEG2TransportStreamMultiplexor |
( |
| ) |
const |
|
virtualinherited |
◆ isMPEG4VideoStreamFramer()
virtual Boolean MediaSource::isMPEG4VideoStreamFramer |
( |
| ) |
const |
|
virtualinherited |
◆ isRTCPInstance()
virtual Boolean Medium::isRTCPInstance |
( |
| ) |
const |
|
virtualinherited |
◆ isRTPSource()
virtual Boolean MediaSource::isRTPSource |
( |
| ) |
const |
|
virtualinherited |
◆ isRTSPClient()
virtual Boolean Medium::isRTSPClient |
( |
| ) |
const |
|
virtualinherited |
◆ isRTSPServer()
virtual Boolean Medium::isRTSPServer |
( |
| ) |
const |
|
virtualinherited |
◆ isServerMediaSession()
virtual Boolean Medium::isServerMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isSink()
virtual Boolean Medium::isSink |
( |
| ) |
const |
|
virtualinherited |
◆ isSource()
virtual Boolean MediaSource::isSource |
( |
| ) |
const |
|
privatevirtualinherited |
◆ lookupByName() [1/3]
◆ lookupByName() [2/3]
◆ lookupByName() [3/3]
◆ maxFrameSize()
virtual unsigned FramedSource::maxFrameSize |
( |
| ) |
const |
|
virtualinherited |
◆ MIMEtype()
virtual char const * MediaSource::MIMEtype |
( |
| ) |
const |
|
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.
◆ name()
char const * Medium::name |
( |
| ) |
const |
|
inlineinherited |
◆ nextTask()
◆ seekToByteAbsolute()
void ByteStreamFileSource::seekToByteAbsolute |
( |
u_int64_t |
byteNumber, |
|
|
u_int64_t |
numBytesToStream = 0 |
|
) |
| |
◆ seekToByteRelative()
void ByteStreamFileSource::seekToByteRelative |
( |
int64_t |
offset, |
|
|
u_int64_t |
numBytesToStream = 0 |
|
) |
| |
◆ seekToEnd()
void ByteStreamFileSource::seekToEnd |
( |
| ) |
|
◆ stopGettingFrames()
void FramedSource::stopGettingFrames |
( |
| ) |
|
|
inherited |
◆ fAfterGettingClientData
void* FramedSource::fAfterGettingClientData |
|
privateinherited |
◆ fAfterGettingFunc
◆ fDurationInMicroseconds
unsigned FramedSource::fDurationInMicroseconds |
|
protectedinherited |
◆ fEnviron
◆ fFid
FILE* FramedFileSource::fFid |
|
protectedinherited |
◆ fFidIsSeekable
Boolean ByteStreamFileSource::fFidIsSeekable |
|
private |
◆ fFileSize
u_int64_t ByteStreamFileSource::fFileSize |
|
protected |
◆ fFrameSize
unsigned FramedSource::fFrameSize |
|
protectedinherited |
◆ fHaveStartedReading
Boolean ByteStreamFileSource::fHaveStartedReading |
|
private |
◆ fIsCurrentlyAwaitingData
Boolean FramedSource::fIsCurrentlyAwaitingData |
|
privateinherited |
◆ fLastPlayTime
unsigned ByteStreamFileSource::fLastPlayTime |
|
private |
◆ fLimitNumBytesToStream
Boolean ByteStreamFileSource::fLimitNumBytesToStream |
|
private |
◆ fMaxSize
unsigned FramedSource::fMaxSize |
|
protectedinherited |
◆ fMediumName
◆ fNextTask
◆ fNumBytesToStream
u_int64_t ByteStreamFileSource::fNumBytesToStream |
|
private |
◆ fNumTruncatedBytes
unsigned FramedSource::fNumTruncatedBytes |
|
protectedinherited |
◆ fOnCloseClientData
void* FramedSource::fOnCloseClientData |
|
privateinherited |
◆ fOnCloseFunc
◆ fPlayTimePerFrame
unsigned ByteStreamFileSource::fPlayTimePerFrame |
|
private |
◆ fPreferredFrameSize
unsigned ByteStreamFileSource::fPreferredFrameSize |
|
private |
◆ fPresentationTime
struct timeval FramedSource::fPresentationTime |
|
protectedinherited |
◆ fTo
unsigned char* FramedSource::fTo |
|
protectedinherited |
The documentation for this class was generated from the following file: