The definition of the IMediaPipelineCapabilities interface.
More...
#include <IMediaPipelineCapabilities.h>
The definition of the IMediaPipelineCapabilities interface.
This interface defines the public API of Rialto for querying EME decryption capabilities. It should be implemented by both Rialto Client & Rialto Server.
◆ getSupportedMimeTypes()
virtual std::vector<std::string> firebolt::rialto::IMediaPipelineCapabilities::getSupportedMimeTypes |
( |
MediaSourceType |
sourceType | ) |
|
|
pure virtual |
Returns the MSE mime types supported by Rialto for sourceType.
- Parameters
-
[in] | sourceType | : source type |
- Return values
-
◆ getSupportedProperties()
virtual std::vector<std::string> firebolt::rialto::IMediaPipelineCapabilities::getSupportedProperties |
( |
MediaSourceType |
mediaType, |
|
|
const std::vector< std::string > & |
propertyNames |
|
) |
| |
|
pure virtual |
Check sinks and decoders for supported properties.
- Parameters
-
[in] | mediaType | : The media type to search. If set to UNKNOWN then both AUDIO and VIDEO are searched |
[in] | propertyNames | : A vector of property names to look for |
- Return values
-
Returns | the subset of propertyNames that are supported by the mediaType |
◆ isMimeTypeSupported()
virtual bool firebolt::rialto::IMediaPipelineCapabilities::isMimeTypeSupported |
( |
const std::string & |
mimeType | ) |
|
|
pure virtual |
Indicates if the specified mime type is supported.
This method should be called to ensure that the specified mime type is supported by Rialto.
- Parameters
-
[in] | mimeType | : The mime type to check. |
- Return values
-
The documentation for this class was generated from the following file: