Rialto  0.1
Rialto media pipeline API
Public Member Functions | List of all members
firebolt::rialto::IMediaPipelineCapabilities Class Referenceabstract

The definition of the IMediaPipelineCapabilities interface. More...

#include <IMediaPipelineCapabilities.h>

Public Member Functions

 IMediaPipelineCapabilities (const IMediaPipelineCapabilities &)=delete
 
IMediaPipelineCapabilitiesoperator= (const IMediaPipelineCapabilities &)=delete
 
 IMediaPipelineCapabilities (IMediaPipelineCapabilities &&)=delete
 
IMediaPipelineCapabilitiesoperator= (IMediaPipelineCapabilities &&)=delete
 
virtual std::vector< std::string > getSupportedMimeTypes (MediaSourceType sourceType)=0
 Returns the MSE mime types supported by Rialto for sourceType. More...
 
virtual bool isMimeTypeSupported (const std::string &mimeType)=0
 Indicates if the specified mime type is supported. More...
 
virtual std::vector< std::string > getSupportedProperties (MediaSourceType mediaType, const std::vector< std::string > &propertyNames)=0
 Check sinks and decoders for supported properties. More...
 

Detailed Description

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.

Member Function Documentation

◆ 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
Thesupported mime types.

◆ 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
Returnsthe 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
trueif supported.

The documentation for this class was generated from the following file: