Rialto 0.1
Rialto media pipeline API
|
#include <limits>
#include <optional>
#include <stddef.h>
#include <stdint.h>
#include <utility>
#include <vector>
Go to the source code of this file.
Classes | |
struct | firebolt::rialto::AudioConfig |
Audio specific configuration. More... | |
struct | firebolt::rialto::SubSamplePair |
A pair describing the clear and encrypted bytes in a sub-sample. More... | |
struct | firebolt::rialto::VideoRequirements |
Video decoder requirements used to allocate a suitable decoder for a MediaPipeline session. More... | |
struct | firebolt::rialto::MediaPlayerShmInfo |
Information about the shared memory required for writting data. More... | |
struct | firebolt::rialto::QosInfo |
The information provided in a QOS update. More... | |
struct | firebolt::rialto::WebAudioShmInfo |
Information about the shared memory required for writting data for the web audio playback. More... | |
struct | firebolt::rialto::WebAudioPcmConfig |
Pcm config information. More... | |
union | firebolt::rialto::WebAudioConfig |
Type dependent configuration data. More... | |
struct | firebolt::rialto::Fraction |
Fraction type. More... | |
struct | firebolt::rialto::CodecData |
Codec data with type. More... | |
Typedefs | |
typedef std::vector< std::pair< std::vector< unsigned char >, KeyStatus > > | firebolt::rialto::KeyStatusVector |
A vector of key ID/key status pairs. | |
Enumerations | |
enum class | firebolt::rialto::MediaSourceType { UNKNOWN , AUDIO , VIDEO , SUBTITLE } |
The supported types of media source. | |
enum class | firebolt::rialto::SourceConfigType { UNKNOWN , AUDIO , VIDEO , VIDEO_DOLBY_VISION , SUBTITLE } |
Shows the types of source configuration. | |
enum class | firebolt::rialto::AudioEaseType { LINEAR = 0 , INCUBIC , OUTCUBIC } |
The supported audio ease types. | |
enum class | firebolt::rialto::MediaType { UNKNOWN , MSE } |
The media type of media to be played. More... | |
enum class | firebolt::rialto::MediaSourceStatus { OK , EOS , ERROR , CODEC_CHANGED , NO_AVAILABLE_SAMPLES } |
The media source status. This is the status of the source after a read. More... | |
enum class | firebolt::rialto::NetworkState { UNKNOWN , IDLE , BUFFERING , BUFFERING_PROGRESS , BUFFERED , STALLED , FORMAT_ERROR , NETWORK_ERROR , DECODE_ERROR } |
The Network State. More... | |
enum class | firebolt::rialto::PlaybackState { UNKNOWN , IDLE , PLAYING , PAUSED , SEEKING , SEEK_DONE , STOPPED , END_OF_STREAM , FAILURE } |
The Playback State. More... | |
enum class | firebolt::rialto::Format { S8 , U8 , S16LE , S16BE , U16LE , U16BE , S24_32LE , S24_32BE , U24_32LE , U24_32BE , S32LE , S32BE , U32LE , U32BE , S24LE , S24BE , U24LE , U24BE , S20LE , S20BE , U20LE , U20BE , S18LE , S18BE , U18LE , U18BE , F32LE , F32BE , F64LE , F64BE } |
The Format of the audio samples. Used by the raw audio media types. | |
enum class | firebolt::rialto::Layout { INTERLEAVED , NON_INTERLEAVED } |
The layout of channels within a buffer. Used by the raw audio media types. | |
enum class | firebolt::rialto::AddSegmentStatus { OK , NO_SPACE , ERROR } |
AddSegmentStatus. More... | |
enum class | firebolt::rialto::MediaKeyErrorStatus { OK , FAIL , BAD_SESSION_ID , NOT_SUPPORTED , INVALID_STATE , INTERFACE_NOT_IMPLEMENTED , BUFFER_TOO_SMALL } |
The error return status for session management methods. More... | |
enum class | firebolt::rialto::KeySessionType { UNKNOWN , TEMPORARY , PERSISTENT_LICENCE , PERSISTENT_RELEASE_MESSAGE } |
The media key session type. More... | |
enum class | firebolt::rialto::InitDataType { UNKNOWN , CENC , KEY_IDS , WEBM , DRMHEADER } |
The init data type. More... | |
enum class | firebolt::rialto::KeyStatus { USABLE , EXPIRED , OUTPUT_RESTRICTED , PENDING , INTERNAL_ERROR , RELEASED } |
The key status. | |
enum class | firebolt::rialto::SegmentAlignment { UNDEFINED , NAL , AU } |
The alignment of media segment. | |
enum class | firebolt::rialto::StreamFormat { UNDEFINED , RAW , AVC , BYTE_STREAM , HVC1 , HEV1 } |
The Stream Format of media segment. | |
enum class | firebolt::rialto::WebAudioPlayerState { UNKNOWN , IDLE , PLAYING , PAUSED , END_OF_STREAM , FAILURE } |
The Web Audio Player State. More... | |
enum class | firebolt::rialto::CipherMode { UNKNOWN , CENC , CBC1 , CENS , CBCS } |
Cipher mode for common encryption, see https://www.iso.org/obp/ui/#iso:std:iso-iec:23001:-7:ed-3:v1:en. | |
enum class | firebolt::rialto::CodecDataType { BUFFER , STRING } |
Codec data type. | |
enum class | firebolt::rialto::PlaybackError { UNKNOWN , DECRYPTION } |
None fatal asynchronous errors reported by the player. | |
enum class | firebolt::rialto::EaseType { EASE_LINEAR , EASE_IN_CUBIC , EASE_OUT_CUBIC } |
Ease type for audio volume changes. | |
The definition of the Rialto Common types
|
strong |
|
strong |
|
strong |
|
strong |
The error return status for session management methods.
|
strong |
The media source status. This is the status of the source after a read.
|
strong |
|
strong |
The Network State.
The network state reflects the state of the network. For backend streaming, say using MediaPipelineURLDelegate, this is important as the backend uses the network to obtain the media data directly.
For streaming that uses the browser to obtain data, say Media Source Extensions playback, only the states NetworkState::IDLE, NetworkState::BUFFERED and NetworkState::DECODE_ERROR should be indicated by the backend.
|
strong |
The Playback State.
The player will start IDLE. Once play() has been called the player will be PLAYING, or once pause() has been called the player will be PAUSED. A seek() request will result in SEEKING and once the seek is complete SEEK_DONE will be issued followed by PLAYING. The STOPPED state will be issued after a stop() request.
|
strong |
The Web Audio Player State.