|
Shaka Player Embedded
|
#include <media_track.h>
Public Member Functions | |
| MediaTrack (std::shared_ptr< media::MediaTrack > track) | |
| ~MediaTrack () override | |
| const std::string & | label () const |
| const std::string & | language () const |
| const std::string & | id () const |
| media::MediaTrackKind | kind () const |
| bool | enabled () const |
| void | SetEnabled (bool enabled) |
Public Member Functions inherited from shaka::BackingObject | |
| BackingObject () | |
| void | Trace (memory::HeapTracer *tracer) const override |
| bool | IsRootedAlive () const override |
| std::string | name () const |
| virtual BackingObjectFactoryBase * | factory () const =0 |
| bool | DerivedFrom (const std::string &base) |
| ReturnVal< JsValue > | JsThis () const |
| void | SetJsThis (Handle< JsObject > this_) |
Public Member Functions inherited from shaka::memory::Traceable | |
| virtual | ~Traceable () |
| virtual bool | IsShortLived () const |
Additional Inherited Members | |
Static Public Member Functions inherited from shaka::BackingObject | |
| static void * | operator new[] (size_t size)=delete |
| static void | operator delete[] (void *)=delete |
Static Public Attributes inherited from shaka::BackingObject | |
| static constexpr const size_t | kInternalFieldCount = 2 |
Static Public Attributes inherited from shaka::memory::Traceable | |
| static constexpr const uint64_t | kShortLiveDurationMs = 5000 |
Protected Member Functions inherited from shaka::BackingObject | |
| ~BackingObject () override | |
Definition at line 30 of file media_track.h.
|
explicit |
Definition at line 21 of file media_track.cc.
|
override |
Definition at line 24 of file media_track.cc.
| bool shaka::js::mse::MediaTrack::enabled | ( | ) | const |
Definition at line 42 of file media_track.cc.
| const std::string & shaka::js::mse::MediaTrack::id | ( | ) | const |
Definition at line 34 of file media_track.cc.
| media::MediaTrackKind shaka::js::mse::MediaTrack::kind | ( | ) | const |
Definition at line 38 of file media_track.cc.
| const std::string & shaka::js::mse::MediaTrack::label | ( | ) | const |
Definition at line 26 of file media_track.cc.
| const std::string & shaka::js::mse::MediaTrack::language | ( | ) | const |
Definition at line 30 of file media_track.cc.
| void shaka::js::mse::MediaTrack::SetEnabled | ( | bool | enabled | ) |
Definition at line 46 of file media_track.cc.
1.8.13