#include <OggFileSink.hh>
|
static OggFileSink * | createNew (UsageEnvironment &env, char const *fileName, unsigned samplingFrequency=0, char const *configStr=NULL, unsigned bufferSize=100000, Boolean oneFilePerFrame=False) |
|
static FileSink * | createNew (UsageEnvironment &env, char const *fileName, unsigned bufferSize=20000, Boolean oneFilePerFrame=False) |
|
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) |
|
|
static void | afterGettingFrame (void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
static void | onSourceClosure (void *clientData) |
|
Definition at line 28 of file OggFileSink.hh.
◆ afterPlayingFunc
typedef void() MediaSink::afterPlayingFunc(void *clientData) |
|
inherited |
◆ OggFileSink()
OggFileSink::OggFileSink |
( |
UsageEnvironment & |
env, |
|
|
FILE * |
fid, |
|
|
unsigned |
samplingFrequency, |
|
|
char const * |
configStr, |
|
|
unsigned |
bufferSize, |
|
|
char const * |
perFrameFileNamePrefix |
|
) |
| |
|
protected |
◆ ~OggFileSink()
virtual OggFileSink::~OggFileSink |
( |
| ) |
|
|
protectedvirtual |
◆ addData()
virtual void OggFileSink::addData |
( |
unsigned char const * |
data, |
|
|
unsigned |
dataSize, |
|
|
struct timeval |
presentationTime |
|
) |
| |
|
protectedvirtual |
◆ afterGettingFrame() [1/2]
virtual void OggFileSink::afterGettingFrame |
( |
unsigned |
frameSize, |
|
|
unsigned |
numTruncatedBytes, |
|
|
struct timeval |
presentationTime |
|
) |
| |
|
protectedvirtual |
◆ afterGettingFrame() [2/2]
static void FileSink::afterGettingFrame |
( |
void * |
clientData, |
|
|
unsigned |
frameSize, |
|
|
unsigned |
numTruncatedBytes, |
|
|
struct timeval |
presentationTime, |
|
|
unsigned |
durationInMicroseconds |
|
) |
| |
|
staticprotectedinherited |
◆ close() [1/2]
static void Medium::close |
( |
Medium * |
medium | ) |
|
|
staticinherited |
◆ close() [2/2]
◆ continuePlaying()
virtual Boolean OggFileSink::continuePlaying |
( |
| ) |
|
|
protectedvirtual |
◆ createNew() [1/2]
◆ createNew() [2/2]
static OggFileSink * OggFileSink::createNew |
( |
UsageEnvironment & |
env, |
|
|
char const * |
fileName, |
|
|
unsigned |
samplingFrequency = 0 , |
|
|
char const * |
configStr = NULL , |
|
|
unsigned |
bufferSize = 100000 , |
|
|
Boolean |
oneFilePerFrame = False |
|
) |
| |
|
static |
◆ envir()
◆ isMediaSession()
virtual Boolean Medium::isMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isRTCPInstance()
virtual Boolean Medium::isRTCPInstance |
( |
| ) |
const |
|
virtualinherited |
◆ isRTPSink()
virtual Boolean MediaSink::isRTPSink |
( |
| ) |
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 MediaSink::isSink |
( |
| ) |
const |
|
privatevirtualinherited |
◆ isSource()
virtual Boolean Medium::isSource |
( |
| ) |
const |
|
virtualinherited |
◆ lookupByName() [1/2]
◆ lookupByName() [2/2]
◆ name()
char const * Medium::name |
( |
| ) |
const |
|
inlineinherited |
◆ nextTask()
◆ onSourceClosure() [1/2]
void MediaSink::onSourceClosure |
( |
| ) |
|
|
protectedinherited |
◆ onSourceClosure() [2/2]
static void MediaSink::onSourceClosure |
( |
void * |
clientData | ) |
|
|
staticprotectedinherited |
◆ ourOnSourceClosure() [1/2]
void OggFileSink::ourOnSourceClosure |
( |
| ) |
|
|
private |
◆ ourOnSourceClosure() [2/2]
static void OggFileSink::ourOnSourceClosure |
( |
void * |
clientData | ) |
|
|
staticprivate |
◆ source()
◆ sourceIsCompatibleWithUs()
|
protectedvirtualinherited |
◆ startPlaying()
◆ stopPlaying()
virtual void MediaSink::stopPlaying |
( |
| ) |
|
|
virtualinherited |
◆ fAfterClientData
void* MediaSink::fAfterClientData |
|
privateinherited |
◆ fAfterFunc
◆ fAltBuffer
unsigned char* OggFileSink::fAltBuffer |
|
private |
◆ fAltFrameSize
unsigned OggFileSink::fAltFrameSize |
|
private |
◆ fAltNumTruncatedBytes
unsigned OggFileSink::fAltNumTruncatedBytes |
|
private |
◆ fAltPresentationTime
struct timeval OggFileSink::fAltPresentationTime |
|
private |
◆ fBuffer
unsigned char* FileSink::fBuffer |
|
protectedinherited |
◆ fBufferSize
unsigned FileSink::fBufferSize |
|
protectedinherited |
◆ fConfigStr
char const* OggFileSink::fConfigStr |
|
private |
◆ fEnviron
◆ fFirstPresentationTime
struct timeval OggFileSink::fFirstPresentationTime |
|
private |
◆ fGranuleIncrementPerFrame
u_int64_t OggFileSink::fGranuleIncrementPerFrame |
|
private |
◆ fGranulePosition
int64_t OggFileSink::fGranulePosition |
|
private |
◆ fGranulePositionAdjustment
int64_t OggFileSink::fGranulePositionAdjustment |
|
private |
◆ fHaveSeenEOF
◆ fHaveWrittenFirstFrame
Boolean OggFileSink::fHaveWrittenFirstFrame |
|
private |
◆ fIsTheora
◆ fMediumName
◆ fNextTask
◆ fOutFid
◆ fPageHeaderBytes
u_int8_t OggFileSink::fPageHeaderBytes[27] |
|
private |
◆ fPageSequenceNumber
u_int32_t OggFileSink::fPageSequenceNumber |
|
private |
◆ fPerFrameFileNameBuffer
char* FileSink::fPerFrameFileNameBuffer |
|
protectedinherited |
◆ fPerFrameFileNamePrefix
char* FileSink::fPerFrameFileNamePrefix |
|
protectedinherited |
◆ fPrevPresentationTime
struct timeval FileSink::fPrevPresentationTime |
|
protectedinherited |
◆ fSamePresentationTimeCounter
unsigned FileSink::fSamePresentationTimeCounter |
|
protectedinherited |
◆ fSamplingFrequency
unsigned OggFileSink::fSamplingFrequency |
|
private |
◆ fSource
The documentation for this class was generated from the following file: