#include <QuickTimeFileSink.hh>
|
static QuickTimeFileSink * | createNew (UsageEnvironment &env, MediaSession &inputSession, char const *outputFileName, unsigned bufferSize=20000, unsigned short movieWidth=240, unsigned short movieHeight=180, unsigned movieFPS=15, Boolean packetLossCompensate=False, Boolean syncStreams=False, Boolean generateHintTracks=False, Boolean generateMP4Format=False) |
|
static Boolean | lookupByName (UsageEnvironment &env, char const *mediumName, Medium *&resultMedium) |
|
static void | close (UsageEnvironment &env, char const *mediumName) |
|
static void | close (Medium *medium) |
|
|
| QuickTimeFileSink (UsageEnvironment &env, MediaSession &inputSession, char const *outputFileName, unsigned bufferSize, unsigned short movieWidth, unsigned short movieHeight, unsigned movieFPS, Boolean packetLossCompensate, Boolean syncStreams, Boolean generateHintTracks, Boolean generateMP4Format) |
|
virtual | ~QuickTimeFileSink () |
|
virtual void | noteRecordedFrame (MediaSubsession &inputSubsession, unsigned packetDataSize, struct timeval const &presentationTime) |
|
TaskToken & | nextTask () |
|
|
static void | afterGettingFrame (void *clientData, unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned durationInMicroseconds) |
|
static void | onSourceClosure (void *clientData) |
|
static void | onRTCPBye (void *clientData) |
|
Definition at line 28 of file QuickTimeFileSink.hh.
◆ afterPlayingFunc
typedef void() QuickTimeFileSink::afterPlayingFunc(void *clientData) |
◆ QuickTimeFileSink()
QuickTimeFileSink::QuickTimeFileSink |
( |
UsageEnvironment & |
env, |
|
|
MediaSession & |
inputSession, |
|
|
char const * |
outputFileName, |
|
|
unsigned |
bufferSize, |
|
|
unsigned short |
movieWidth, |
|
|
unsigned short |
movieHeight, |
|
|
unsigned |
movieFPS, |
|
|
Boolean |
packetLossCompensate, |
|
|
Boolean |
syncStreams, |
|
|
Boolean |
generateHintTracks, |
|
|
Boolean |
generateMP4Format |
|
) |
| |
|
protected |
◆ ~QuickTimeFileSink()
virtual QuickTimeFileSink::~QuickTimeFileSink |
( |
| ) |
|
|
protectedvirtual |
◆ _atom() [1/65]
QuickTimeFileSink::_atom |
( |
alaw |
| ) |
|
|
private |
◆ _atom() [2/65]
QuickTimeFileSink::_atom |
( |
alis |
| ) |
|
|
private |
◆ _atom() [3/65]
QuickTimeFileSink::_atom |
( |
avc1 |
| ) |
|
|
private |
◆ _atom() [4/65]
QuickTimeFileSink::_atom |
( |
avcC |
| ) |
|
|
private |
◆ _atom() [5/65]
QuickTimeFileSink::_atom |
( |
co64 |
| ) |
|
|
private |
◆ _atom() [6/65]
QuickTimeFileSink::_atom |
( |
dimm |
| ) |
|
|
private |
◆ _atom() [7/65]
QuickTimeFileSink::_atom |
( |
dinf |
| ) |
|
|
private |
◆ _atom() [8/65]
QuickTimeFileSink::_atom |
( |
dmax |
| ) |
|
|
private |
◆ _atom() [9/65]
QuickTimeFileSink::_atom |
( |
dmed |
| ) |
|
|
private |
◆ _atom() [10/65]
QuickTimeFileSink::_atom |
( |
dref |
| ) |
|
|
private |
◆ _atom() [11/65]
QuickTimeFileSink::_atom |
( |
drep |
| ) |
|
|
private |
◆ _atom() [12/65]
QuickTimeFileSink::_atom |
( |
edts |
| ) |
|
|
private |
◆ _atom() [13/65]
QuickTimeFileSink::_atom |
( |
elst |
| ) |
|
|
private |
◆ _atom() [14/65]
QuickTimeFileSink::_atom |
( |
esds |
| ) |
|
|
private |
◆ _atom() [15/65]
QuickTimeFileSink::_atom |
( |
Fclp |
| ) |
|
|
private |
◆ _atom() [16/65]
QuickTimeFileSink::_atom |
( |
frma |
| ) |
|
|
private |
◆ _atom() [17/65]
QuickTimeFileSink::_atom |
( |
ftyp |
| ) |
|
|
private |
◆ _atom() [18/65]
QuickTimeFileSink::_atom |
( |
gmhd |
| ) |
|
|
private |
◆ _atom() [19/65]
QuickTimeFileSink::_atom |
( |
gmin |
| ) |
|
|
private |
◆ _atom() [20/65]
QuickTimeFileSink::_atom |
( |
h263 |
| ) |
|
|
private |
◆ _atom() [21/65]
QuickTimeFileSink::_atom |
( |
Hclp |
| ) |
|
|
private |
◆ _atom() [22/65]
QuickTimeFileSink::_atom |
( |
hdlr |
| ) |
|
|
private |
◆ _atom() [23/65]
QuickTimeFileSink::_atom |
( |
hinf |
| ) |
|
|
private |
◆ _atom() [24/65]
QuickTimeFileSink::_atom |
( |
hint |
| ) |
|
|
private |
◆ _atom() [25/65]
QuickTimeFileSink::_atom |
( |
hnti |
| ) |
|
|
private |
◆ _atom() [26/65]
QuickTimeFileSink::_atom |
( |
hvc1 |
| ) |
|
|
private |
◆ _atom() [27/65]
QuickTimeFileSink::_atom |
( |
hvcC |
| ) |
|
|
private |
◆ _atom() [28/65]
QuickTimeFileSink::_atom |
( |
iods |
| ) |
|
|
private |
◆ _atom() [29/65]
QuickTimeFileSink::_atom |
( |
mdhd |
| ) |
|
|
private |
◆ _atom() [30/65]
QuickTimeFileSink::_atom |
( |
mdia |
| ) |
|
|
private |
◆ _atom() [31/65]
QuickTimeFileSink::_atom |
( |
minf |
| ) |
|
|
private |
◆ _atom() [32/65]
QuickTimeFileSink::_atom |
( |
moov |
| ) |
|
|
private |
◆ _atom() [33/65]
QuickTimeFileSink::_atom |
( |
mp4a |
| ) |
|
|
private |
◆ _atom() [34/65]
QuickTimeFileSink::_atom |
( |
mp4v |
| ) |
|
|
private |
◆ _atom() [35/65]
QuickTimeFileSink::_atom |
( |
mvhd |
| ) |
|
|
private |
◆ _atom() [36/65]
QuickTimeFileSink::_atom |
( |
name |
| ) |
|
|
private |
◆ _atom() [37/65]
QuickTimeFileSink::_atom |
( |
npck |
| ) |
|
|
private |
◆ _atom() [38/65]
QuickTimeFileSink::_atom |
( |
nump |
| ) |
|
|
private |
◆ _atom() [39/65]
QuickTimeFileSink::_atom |
( |
payt |
| ) |
|
|
private |
◆ _atom() [40/65]
QuickTimeFileSink::_atom |
( |
pmax |
| ) |
|
|
private |
◆ _atom() [41/65]
QuickTimeFileSink::_atom |
( |
Qclp |
| ) |
|
|
private |
◆ _atom() [42/65]
QuickTimeFileSink::_atom |
( |
rtp |
| ) |
|
|
private |
◆ _atom() [43/65]
QuickTimeFileSink::_atom |
( |
sdp |
| ) |
|
|
private |
◆ _atom() [44/65]
QuickTimeFileSink::_atom |
( |
smhd |
| ) |
|
|
private |
◆ _atom() [45/65]
QuickTimeFileSink::_atom |
( |
srcq |
| ) |
|
|
private |
◆ _atom() [46/65]
QuickTimeFileSink::_atom |
( |
stbl |
| ) |
|
|
private |
◆ _atom() [47/65]
QuickTimeFileSink::_atom |
( |
stsc |
| ) |
|
|
private |
◆ _atom() [48/65]
QuickTimeFileSink::_atom |
( |
stsd |
| ) |
|
|
private |
◆ _atom() [49/65]
QuickTimeFileSink::_atom |
( |
stss |
| ) |
|
|
private |
◆ _atom() [50/65]
QuickTimeFileSink::_atom |
( |
stsz |
| ) |
|
|
private |
◆ _atom() [51/65]
QuickTimeFileSink::_atom |
( |
stts |
| ) |
|
|
private |
◆ _atom() [52/65]
QuickTimeFileSink::_atom |
( |
tims |
| ) |
|
|
private |
◆ _atom() [53/65]
QuickTimeFileSink::_atom |
( |
tkhd |
| ) |
|
|
private |
◆ _atom() [54/65]
QuickTimeFileSink::_atom |
( |
tmax |
| ) |
|
|
private |
◆ _atom() [55/65]
QuickTimeFileSink::_atom |
( |
tmin |
| ) |
|
|
private |
◆ _atom() [56/65]
QuickTimeFileSink::_atom |
( |
totl |
| ) |
|
|
private |
◆ _atom() [57/65]
QuickTimeFileSink::_atom |
( |
tpay |
| ) |
|
|
private |
◆ _atom() [58/65]
QuickTimeFileSink::_atom |
( |
tpyl |
| ) |
|
|
private |
◆ _atom() [59/65]
QuickTimeFileSink::_atom |
( |
trak |
| ) |
|
|
private |
◆ _atom() [60/65]
QuickTimeFileSink::_atom |
( |
tref |
| ) |
|
|
private |
◆ _atom() [61/65]
QuickTimeFileSink::_atom |
( |
trpy |
| ) |
|
|
private |
◆ _atom() [62/65]
QuickTimeFileSink::_atom |
( |
udta |
| ) |
|
|
private |
◆ _atom() [63/65]
QuickTimeFileSink::_atom |
( |
ulaw |
| ) |
|
|
private |
◆ _atom() [64/65]
QuickTimeFileSink::_atom |
( |
vmhd |
| ) |
|
|
private |
◆ _atom() [65/65]
QuickTimeFileSink::_atom |
( |
wave |
| ) |
|
|
private |
◆ add4ByteString()
unsigned QuickTimeFileSink::add4ByteString |
( |
char const * |
str | ) |
|
|
private |
◆ addArbitraryString()
unsigned QuickTimeFileSink::addArbitraryString |
( |
char const * |
str, |
|
|
Boolean |
oneByteLength = True |
|
) |
| |
|
private |
◆ addAtom_dummy()
unsigned QuickTimeFileSink::addAtom_dummy |
( |
| ) |
|
|
private |
◆ addAtom_genericMedia()
unsigned QuickTimeFileSink::addAtom_genericMedia |
( |
| ) |
|
|
private |
◆ addAtom_hdlr2()
unsigned QuickTimeFileSink::addAtom_hdlr2 |
( |
| ) |
|
|
private |
◆ addAtom_soundMediaGeneral()
unsigned QuickTimeFileSink::addAtom_soundMediaGeneral |
( |
| ) |
|
|
private |
◆ addAtomHeader()
unsigned QuickTimeFileSink::addAtomHeader |
( |
char const * |
atomName | ) |
|
|
private |
◆ addAtomHeader64()
unsigned QuickTimeFileSink::addAtomHeader64 |
( |
char const * |
atomName | ) |
|
|
private |
◆ addByte()
unsigned QuickTimeFileSink::addByte |
( |
unsigned char |
byte | ) |
|
|
inlineprivate |
◆ addHalfWord()
unsigned QuickTimeFileSink::addHalfWord |
( |
unsigned short |
halfWord | ) |
|
|
private |
◆ addWord()
unsigned QuickTimeFileSink::addWord |
( |
unsigned |
word | ) |
|
|
private |
◆ addWord64()
unsigned QuickTimeFileSink::addWord64 |
( |
u_int64_t |
word | ) |
|
|
private |
◆ addZeroWords()
unsigned QuickTimeFileSink::addZeroWords |
( |
unsigned |
numWords | ) |
|
|
private |
◆ afterGettingFrame()
static void QuickTimeFileSink::afterGettingFrame |
( |
void * |
clientData, |
|
|
unsigned |
frameSize, |
|
|
unsigned |
numTruncatedBytes, |
|
|
struct timeval |
presentationTime, |
|
|
unsigned |
durationInMicroseconds |
|
) |
| |
|
staticprivate |
◆ close() [1/2]
static void Medium::close |
( |
Medium * |
medium | ) |
|
|
staticinherited |
◆ close() [2/2]
◆ completeOutputFile()
void QuickTimeFileSink::completeOutputFile |
( |
| ) |
|
|
private |
◆ continuePlaying()
Boolean QuickTimeFileSink::continuePlaying |
( |
| ) |
|
|
private |
◆ createNew()
static QuickTimeFileSink * QuickTimeFileSink::createNew |
( |
UsageEnvironment & |
env, |
|
|
MediaSession & |
inputSession, |
|
|
char const * |
outputFileName, |
|
|
unsigned |
bufferSize = 20000 , |
|
|
unsigned short |
movieWidth = 240 , |
|
|
unsigned short |
movieHeight = 180 , |
|
|
unsigned |
movieFPS = 15 , |
|
|
Boolean |
packetLossCompensate = False , |
|
|
Boolean |
syncStreams = False , |
|
|
Boolean |
generateHintTracks = False , |
|
|
Boolean |
generateMP4Format = False |
|
) |
| |
|
static |
◆ envir()
◆ isMediaSession()
virtual Boolean Medium::isMediaSession |
( |
| ) |
const |
|
virtualinherited |
◆ isRTCPInstance()
virtual Boolean Medium::isRTCPInstance |
( |
| ) |
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 Medium::isSource |
( |
| ) |
const |
|
virtualinherited |
◆ lookupByName()
◆ movieTimeScale()
unsigned QuickTimeFileSink::movieTimeScale |
( |
| ) |
const |
|
inlineprivate |
◆ name()
char const * Medium::name |
( |
| ) |
const |
|
inlineinherited |
◆ nextTask()
◆ noteRecordedFrame()
virtual void QuickTimeFileSink::noteRecordedFrame |
( |
MediaSubsession & |
inputSubsession, |
|
|
unsigned |
packetDataSize, |
|
|
struct timeval const & |
presentationTime |
|
) |
| |
|
protectedvirtual |
◆ numActiveSubsessions()
unsigned QuickTimeFileSink::numActiveSubsessions |
( |
| ) |
const |
|
inline |
◆ onRTCPBye()
static void QuickTimeFileSink::onRTCPBye |
( |
void * |
clientData | ) |
|
|
staticprivate |
◆ onSourceClosure()
static void QuickTimeFileSink::onSourceClosure |
( |
void * |
clientData | ) |
|
|
staticprivate |
◆ onSourceClosure1()
void QuickTimeFileSink::onSourceClosure1 |
( |
| ) |
|
|
private |
◆ setWord()
void QuickTimeFileSink::setWord |
( |
int64_t |
filePosn, |
|
|
unsigned |
size |
|
) |
| |
|
private |
◆ setWord64()
void QuickTimeFileSink::setWord64 |
( |
int64_t |
filePosn, |
|
|
u_int64_t |
size |
|
) |
| |
|
private |
◆ startPlaying()
◆ SubsessionIOState
friend class SubsessionIOState |
|
friend |
◆ fAfterClientData
void* QuickTimeFileSink::fAfterClientData |
|
private |
◆ fAfterFunc
◆ fAppleCreationTime
unsigned QuickTimeFileSink::fAppleCreationTime |
|
private |
◆ fAreCurrentlyBeingPlayed
Boolean QuickTimeFileSink::fAreCurrentlyBeingPlayed |
|
private |
◆ fBufferSize
unsigned QuickTimeFileSink::fBufferSize |
|
private |
◆ fCurrentIOState
◆ fEnviron
◆ fFirstDataTime
struct timeval fNewestSyncTime QuickTimeFileSink::fFirstDataTime |
|
private |
◆ fGenerateMP4Format
Boolean QuickTimeFileSink::fGenerateMP4Format |
|
private |
◆ fHaveCompletedOutputFile
Boolean QuickTimeFileSink::fHaveCompletedOutputFile |
|
private |
◆ fInputSession
◆ fLargestRTPtimestampFrequency
unsigned QuickTimeFileSink::fLargestRTPtimestampFrequency |
|
private |
◆ fMaxTrackDurationM
unsigned QuickTimeFileSink::fMaxTrackDurationM |
|
private |
◆ fMDATposition
int64_t QuickTimeFileSink::fMDATposition |
|
private |
◆ fMediumName
◆ fMovieFPS
unsigned QuickTimeFileSink::fMovieFPS |
|
private |
◆ fMovieHeight
unsigned short QuickTimeFileSink::fMovieHeight |
|
private |
◆ fMovieWidth
unsigned short QuickTimeFileSink::fMovieWidth |
|
private |
◆ fMVHD_durationPosn
int64_t QuickTimeFileSink::fMVHD_durationPosn |
|
private |
◆ fNextTask
◆ fNumSubsessions
unsigned QuickTimeFileSink::fNumSubsessions |
|
private |
◆ fNumSyncedSubsessions
unsigned QuickTimeFileSink::fNumSyncedSubsessions |
|
private |
◆ fOutFid
FILE* QuickTimeFileSink::fOutFid |
|
private |
◆ fPacketLossCompensate
Boolean QuickTimeFileSink::fPacketLossCompensate |
|
private |
◆ fStartTime
struct timeval QuickTimeFileSink::fStartTime |
|
private |
◆ fSyncStreams
Boolean QuickTimeFileSink::fSyncStreams |
|
private |
The documentation for this class was generated from the following file: