A class that represents media source subtitle derived from media source video data.
More...
#include <IMediaPipeline.h>
|
| MediaSourceSubtitle (const std::string &mimeType, const std::string &textTrackIdentifier) |
| Construct a new Media Source Subtitle object.
|
|
MediaSourceType | getType () const override |
| Return the source type.
|
|
std::unique_ptr< MediaSource > | copy () const override |
| Create a copy.
|
|
const std::string & | getTextTrackIdentifier () const |
| Get the Text Track Identifier object.
|
|
virtual | ~MediaSource () |
| Virtual destructor.
|
|
std::string | getMimeType () const |
| Return the MIME type.
|
|
bool | getHasDrm () const |
| Return if source has drm.
|
|
SourceConfigType | getConfigType () const |
| Return the source config type.
|
|
int32_t | getId () const |
| Return the source id.
|
|
void | setId (int32_t id) |
| Set the source id.
|
|
|
std::string | m_textTrackIdentifier |
| Variable that stores the text track identifier.
|
|
int32_t | m_id |
| The source id. Parameter will be set by a successful call to attachSource()
|
|
SourceConfigType | m_configType |
| The source config type.
|
|
std::string | m_mimeType |
| The MIME type.
|
|
bool | m_hasDrm |
| Parameter to check if encrypted frames will be used for this source.
|
|
|
| MediaSource (SourceConfigType configType=SourceConfigType::UNKNOWN, const std::string &mimeType=std::string(), bool hasDrm=true) |
| Default constructor.
|
|
A class that represents media source subtitle derived from media source video data.
◆ MediaSourceSubtitle()
firebolt::rialto::IMediaPipeline::MediaSourceSubtitle::MediaSourceSubtitle |
( |
const std::string & |
mimeType, |
|
|
const std::string & |
textTrackIdentifier |
|
) |
| |
|
inline |
Construct a new Media Source Subtitle object.
- Parameters
-
mimeType | : The mime type string |
textTrackIdentifier | : The text track identifier string |
◆ copy()
std::unique_ptr< MediaSource > firebolt::rialto::IMediaPipeline::MediaSourceSubtitle::copy |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getTextTrackIdentifier()
const std::string & firebolt::rialto::IMediaPipeline::MediaSourceSubtitle::getTextTrackIdentifier |
( |
| ) |
const |
|
inline |
Get the Text Track Identifier object.
- Returns
- the text track identifier
◆ getType()
MediaSourceType firebolt::rialto::IMediaPipeline::MediaSourceSubtitle::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: