Base Class for Media Container Processor.
More...
#include <mediaprocessor.h>
Base Class for Media Container Processor.
Definition at line 47 of file mediaprocessor.h.
◆ sendSegment()
MediaProcessor::sendSegment |
( |
char * |
segment, |
|
|
size_t & |
size, |
|
|
double |
position, |
|
|
double |
duration, |
|
|
bool |
discontinuous, |
|
|
bool & |
ptsError |
|
) |
| |
|
pure virtual |
- Parameters
-
[in] | segment | - fragment buffer pointer |
[in] | size | - fragment buffer size |
[in] | position | - position of fragment |
[in] | duration | - duration of fragment |
[in] | discontinuous | - true if discontinuous fragment |
[out] | ptsError | - flag indicates if any PTS error occurred |
- Returns
- true if fragment was sent, false otherwise
Implemented in IsoBmffProcessor, and TSProcessor.
◆ setRate()
virtual void MediaProcessor::setRate |
( |
double |
rate, |
|
|
PlayMode |
mode |
|
) |
| |
|
pure virtual |
◆ setThrottleEnable()
virtual void MediaProcessor::setThrottleEnable |
( |
bool |
enable | ) |
|
|
pure virtual |
Enable or disable throttle.
- Parameters
-
[in] | enable | - throttle enable/disable |
- Returns
- void
Implemented in IsoBmffProcessor, and TSProcessor.
◆ setFrameRateForTM()
virtual void MediaProcessor::setFrameRateForTM |
( |
int |
frameRate | ) |
|
|
pure virtual |
◆ abort()
virtual void MediaProcessor::abort |
( |
| ) |
|
|
pure virtual |
◆ reset()
virtual void MediaProcessor::reset |
( |
| ) |
|
|
pure virtual |
◆ SetAudioGroupId()
virtual void MediaProcessor::SetAudioGroupId |
( |
std::string & |
id | ) |
|
|
inlinevirtual |
◆ setApplyOffsetFlag()
virtual void MediaProcessor::setApplyOffsetFlag |
( |
bool |
enable | ) |
|
|
inlinevirtual |
Function to set a offsetflag. if the value is fasle, no need to apply offset while doing pts restamping.
- Parameters
-
Reimplemented in TSProcessor.
Definition at line 137 of file mediaprocessor.h.
The documentation for this class was generated from the following file: