|
Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
|
Classes | |
| struct | DRMConfig |
| Aggregates all data necessary for setting up decryption. More... | |
| struct | ElementaryAudioTrackConfig |
| struct | ElementaryMediaPacket |
| Type representing a single packet (video or audio). More... | |
| class | ElementaryMediaStreamSource |
Main class of WASM Player. ElementaryMediaStreamSource acts as a data source for html::HTMLMediaElement. More... | |
| class | ElementaryMediaStreamSourceListener |
Allows receiving ElementaryMediaStreamSource events. More... | |
| class | ElementaryMediaTrack |
| Tracks are used to deliver either audio or video frames to WASM Player. More... | |
| struct | ElementaryMediaTrackConfig |
| Common part of audio and video configs. More... | |
| class | ElementaryMediaTrackListener |
Allows receiving ElementaryMediaTrack events. More... | |
| struct | ElementaryVideoTrackConfig |
Contains video ElementaryMediaTrack config. More... | |
| struct | EmssVersionInfo |
| struct | EncryptedElementaryMediaPacket |
| Type representing a single encrypted packet (either video or audio). More... | |
| struct | EncryptedSubsampleDescription |
| class | MediaKey |
| Class representing an instance of media keys used to decrypt content. More... | |
| struct | Result |
Typedefs | |
| using | Seconds = std::chrono::duration< double > |
| Default duration type used throughout the API. More... | |
| using | SessionId = int32_t |
Variables | |
| const SessionId | kIgnoreSessionId |
| using samsung::wasm::Seconds = typedef std::chrono::duration<double> |
| using samsung::wasm::SessionId = typedef int32_t |
A session starts when track opens and lasts until it closes. All packets sent between those two events belong to a single session. When appending either a packet or an end of track to ElementaryMediaTrack, a multithreaded App must mark them with the current session_id value.
ElementaryMediaPacket::session_id ElementaryMediaTrack::GetSessionId() ElementaryMediaTrackListener::OnSessionIdChanged() Definition at line 25 of file session_id.h.
|
strong |
Lists audio channel layouts recognized by WASM Player.
Definition at line 34 of file elementary_audio_track_config.h.
|
strong |
Lists Content Decryption Modules recognized by WASM Player.
| Enumerator | |
|---|---|
| kUnknown | Unknown CDM. |
| kPlayready | Playready CDM. |
| kWidevine | Widevine classic CDM. |
Definition at line 27 of file media_key.h.
|
strong |
| Enumerator | |
|---|---|
| kHardware | |
| kHardwareWithFallback | Mode supported only on devices which have |
| kSoftware | Mode supported only on devices which have |
Definition at line 16 of file elementary_media_track_config.h.
|
strong |
Lists encryption modes recognized by WASM Player.
| Enumerator | |
|---|---|
| kUnknown | Unknown encryption mode. |
| kCenc | Full sample encryption AESCTR mode. |
| kCbcs | Pattern encryption AESCBC mode. |
Definition at line 20 of file media_key.h.
|
strong |
Enumerates possible outcomes of WASM function calls.
| Enumerator | |
|---|---|
| kSuccess | An operation ended successfully. |
| kInvalidObject | The requested operation was called on an object which |
| kInvalidArgument | The requested operation was called with an invalid argument. |
| kInvalidState | Cannot perform requested operation in a current ready state. |
| kListenerAlreadySet | A listener of the same type as the one passed as an argument is already assigned to this object. |
| kNoSuchListener | A listener passed as an argument not assigned to this object. |
| kNotAllowedOnCurrentThread | Performing requested operation is not allowed on the current thread. |
| kNotSupported | This functionality is not supported on this device.
|
| kAlreadyDestroyed | The requested operation cannot be performed because this object was already destroyed. |
| kAlreadyInProgress | The requested operation is already in progress and cannot be requested again before it is finished. |
| kCloseInProgress | Cannot complete a state change, because a transition to the |
| kNotAllowedInCurrentMode | The requested operation is not allowed in the current |
| kNoTracksAttached | Cannot perform requested operation when no tracks are attached to the source. |
| kOpenInProgress | Cannot complete a state change, because a transition to the |
| kPlaybackStateChangeInProgress | Cannot complete an Elementary Media Stream Source state change, because a playback state change is in progress. This can happen when |
| kSourceMustBeClosed | The requested operation can be executed only when |
| kSourceNotAttached | Cannot perform the requested operation when |
| kTimestampsExceedDuration | Cannot set a duration value lower than the highest presentation timestamp of any
|
| kTrackLimitReached | A maximum number of tracks of the given type is already assigned to |
| kUnrelatedObject | The object on which the operation was called is not related to an object passed as an argument (e.g. another instance was used to create the passed object). |
| kAborted | The operation was aborted. |
| kFailed | The operation failed due to an unspecified reason. |
| kConfigInvalidChannelLayout | A provided channel layout is invalid. |
| kConfigInvalidCodec | A provided codec is invalid. |
| kConfigInvalidFramerate | A provided framerate is invalid. |
| kConfigInvalidResolution | A provided resolution is invalid. |
| kConfigInvalidMimeType | A provided mime type is invalid. |
| kConfigInvalidSampleFormat | A provided sample format is invalid. |
| kConfigInvalid | A provided config is invalid for an undetermined reason. |
| kAppendBufferFull | The append failed due to Platform's packet buffer overflow.
|
| kAppendExpectsKeyframe | The append failed because
|
| kAppendIgnored | The append was ignored.
|
| kAppendNoDuration | The append failed because packet has no duration. |
| kAppendInvalidDts | The append failed because packet has missing or negative dts. |
| kAppendInvalidPts | The append failed because packet has missing or negative pts. |
| kAppendInvalidTrackState | The append failed because
|
| kAppendInvalidVideoParameters | The append failed because either framerate or resolution provided is invalid or missing. |
| kAppendNoPacketData | The append failed because packet has no data. |
| kAppendResourceAllocationError | The append failed because shared memory creation failed or shared memory handle could not be obtained. |
| kAppendDecryptionError | The append failed because encrypted packet decryption failed. |
| kAppendDecryptorNeedsMoreData | The append failed because decryptor needs more data to decrypt frame. |
| kAppendNoDecryptionKey | The append failed because decryption key is not available. |
| kAppendInvalidInitializationVector | The append failed because encrypted packet has missing or bad initialization vector. |
| kAppendInvalidKeyId | The append failed because encrypted packet has missing or bad key id. |
| kAppendInvalidMediaKeySession | The append failed because media key session is invalid. |
| kAppendInvalidSubsampleDescription | The append failed because encrypted packet has missing or bad |
| kAppendUnknownDecryptionMode | The append failed because encrypted packet has missing or invalid |
| kMediaKeyInvalidConfiguration | Provided |
| kMediaKeySessionNotUpdated | Attempt to update the session failed. |
| kVideoDecoderInvalidTrackType | The requested operation can be executed only on a certain track type. Video decoder related operations are available only for video tracks. |
| kVideoDecoderInvalidVideoTexture | The requested operation failed because invalid video texture was provided. |
| kVideoDecoderWebGlContextNotRegistered | The requested operation failed because WebGL rendering context is not registered. |
| kVideoDecoderNotInVideoTextureMode | The requested operation failed because player is not set to |
| kNotAllowed | Performing requested operation is not allowed on the current thread.
|
Definition at line 13 of file operation_result.h.
|
strong |
Lists robustness levels recognized by WASM Player.
| Enumerator | |
|---|---|
| kEmpty | |
| kSWSecureCrypto | |
| kSWSecureDecode | |
| kHWSecureCrypto | |
| kHWSecureDecode | |
| kHWSecureAll | |
Definition at line 34 of file media_key.h.
|
strong |
Lists audio sampling formats recognized by WASM Player.
Definition at line 19 of file elementary_audio_track_config.h.
| const SessionId samsung::wasm::kIgnoreSessionId |
This should be passed as ElementaryMediaPacket::session_id when session mechanism is not used (i.e. App appends packets on the main thread only).