A class that represents media source video dolby vision derived from media source video data.
More...
|
| MediaSourceVideoDolbyVision (const std::string &mimeType, int32_t dolbyVisionProfile, bool hasDrm=true, int32_t width=firebolt::rialto::kUndefinedSize, int32_t height=firebolt::rialto::kUndefinedSize, SegmentAlignment alignment=SegmentAlignment::UNDEFINED, StreamFormat streamFormat=StreamFormat::UNDEFINED, const std::shared_ptr< CodecData > &codecData=nullptr) |
| Constructor for dolby vision specific configuration. More...
|
|
std::unique_ptr< MediaSource > | copy () const |
| Create a copy.
|
|
uint32_t | getDolbyVisionProfile () const |
| Gets the dolby vision profile. More...
|
|
| MediaSourceVideo (const std::string &mimeType, bool hasDrm=true, int32_t width=firebolt::rialto::kUndefinedSize, int32_t height=firebolt::rialto::kUndefinedSize, SegmentAlignment alignment=SegmentAlignment::UNDEFINED, StreamFormat streamFormat=StreamFormat::UNDEFINED, const std::shared_ptr< CodecData > &codecData=nullptr) |
| Constructor for video specific configuration. More...
|
|
MediaSourceType | getType () const override |
| Return the source type.
|
|
int32_t | getWidth () const |
| Gets the width of the video. More...
|
|
int32_t | getHeight () const |
| Gets the height of the video. More...
|
|
SegmentAlignment | getSegmentAlignment () const |
| Gets the segment alignment.
|
|
const std::shared_ptr< CodecData > & | getCodecData () const |
| Gets the codec data.
|
|
StreamFormat | getStreamFormat () const |
| Gets the stream format.
|
|
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.
|
|
|
| MediaSourceVideo (SourceConfigType sourceConfigType, const std::string &mimeType, bool hasDrm=true, int32_t width=firebolt::rialto::kUndefinedSize, int32_t height=firebolt::rialto::kUndefinedSize, SegmentAlignment alignment=SegmentAlignment::UNDEFINED, StreamFormat streamFormat=StreamFormat::UNDEFINED, const std::shared_ptr< CodecData > &codecData=nullptr) |
| Constructor for video specific configuration. More...
|
|
| MediaSourceAV (SourceConfigType configType=SourceConfigType::UNKNOWN, const std::string &mimeType=std::string(), bool hasDrm=true, SegmentAlignment alignment=SegmentAlignment::UNDEFINED, StreamFormat streamFormat=StreamFormat::UNDEFINED, const std::shared_ptr< CodecData > &codecData=nullptr) |
| Default constructor. More...
|
|
| MediaSource (SourceConfigType configType=SourceConfigType::UNKNOWN, const std::string &mimeType=std::string(), bool hasDrm=true) |
| Default constructor. More...
|
|
A class that represents media source video dolby vision derived from media source video data.