A class that represents media source video derived from MediaSource class, which represents the source of media data.
More...
#include <IMediaPipeline.h>
|
| 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 derived from MediaSource class, which represents the source of media data.
◆ MediaSourceVideo() [1/2]
firebolt::rialto::IMediaPipeline::MediaSourceVideo::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 |
|
) |
| |
|
inline |
Constructor for video specific configuration.
- Parameters
-
[in] | mimeType | : The mime type string. |
[in] | hasDrm | : Information if source will use drm |
[in] | width | : The width of the video |
[in] | height | : The height of the video |
[in] | alignment | : The alignment of media segment. |
[in] | streamFormat | : The stream format |
[in] | codecData | : The additional data for decoder |
◆ MediaSourceVideo() [2/2]
firebolt::rialto::IMediaPipeline::MediaSourceVideo::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 |
|
) |
| |
|
inlineprotected |
Constructor for video specific configuration.
- Parameters
-
[in] | sourceConfigType | : The source config type |
[in] | mimeType | : The mime type string. |
[in] | hasDrm | : Information if source will use drm |
[in] | width | : The width of the video |
[in] | height | : The height of the video |
[in] | alignment | : The alignment of media segment. |
[in] | streamFormat | : The stream format |
[in] | codecData | : The additional data for decoder |
◆ getHeight()
int32_t firebolt::rialto::IMediaPipeline::MediaSourceVideo::getHeight |
( |
| ) |
const |
|
inline |
Gets the height of the video.
- Return values
-
◆ getWidth()
int32_t firebolt::rialto::IMediaPipeline::MediaSourceVideo::getWidth |
( |
| ) |
const |
|
inline |
Gets the width of the video.
- Return values
-
The documentation for this class was generated from the following file: