|
Tizen WASM Player
Tizen TV WebAssembly Media Player extension allowing for a low-level elementary media stream playback.
|
Allows receiving ElementaryMediaStreamSource events.
More...
#include <elementary_media_stream_source_listener.h>
Public Member Functions | |
| virtual | ~ElementaryMediaStreamSourceListener ()=default |
| virtual void | OnSourceDetached () |
| virtual void | OnSourceClosed () |
| virtual void | OnSourceOpenPending () |
| virtual void | OnSourceOpen () |
| virtual void | OnSourceEnded () |
| virtual void | OnPlaybackPositionChanged (Seconds) |
| virtual void | OnClosedCaptions (const uint8_t *, size_t) |
Allows receiving ElementaryMediaStreamSource events.
ElementaryMediaStreamSource events are delivered via this interface when a listener is registered by ElementaryMediaStreamSource::SetListener().
ElementaryMediaStreamSource Definition at line 21 of file elementary_media_stream_source_listener.h.
|
virtualdefault |
|
inlinevirtual |
This event is emitted immediately after VBI closed captions data is detected and read from a video stream. closed_captions contain raw VBI data. It must be decoded and displayed by the application when it receives this event.
| [in] | closed_captions | Pointer to array with processed subtitles. |
| [in] | captions_length | Length of processed subtitles array. |
closed_captions is not transferred and is valid only for the duration of the OnClosedCaptions() call. Do not remove this array manually! Definition at line 63 of file elementary_media_stream_source_listener.h.
|
inlinevirtual |
Called when current playback position changes. This is the preferred method of receiving time updates and should be used instead of html::HTMLMediaElementListener::OnTimeUpdate().
| [in] | new_time | New playback position. |
Definition at line 50 of file elementary_media_stream_source_listener.h.
|
inlinevirtual |
Called when an associated source object enters the ElementaryMediaStreamSource::ReadyState::kClosed state.
Definition at line 31 of file elementary_media_stream_source_listener.h.
|
inlinevirtual |
Called when an associated source object enters the ElementaryMediaStreamSource::ReadyState::kDetached state.
Definition at line 27 of file elementary_media_stream_source_listener.h.
|
inlinevirtual |
Called when an associated source object enters the ElementaryMediaStreamSource::ReadyState::kEnded state.
Definition at line 43 of file elementary_media_stream_source_listener.h.
|
inlinevirtual |
Called when an associated source object enters the ElementaryMediaStreamSource::ReadyState::kOpen state.
Definition at line 39 of file elementary_media_stream_source_listener.h.
|
inlinevirtual |
Called when an associated source object enters the ElementaryMediaStreamSource::ReadyState::kOpenPending state.
Definition at line 35 of file elementary_media_stream_source_listener.h.