Shaka Player Embedded
|
#include <media_track.h>
Classes | |
class | Impl |
Public Member Functions | |
MediaTrack (MediaTrackKind kind, const std::string &label, const std::string &language, const std::string &id) | |
virtual | ~MediaTrack () |
MediaTrack (const MediaTrack &)=delete | |
MediaTrack & | operator= (const MediaTrack &)=delete |
MediaTrack (MediaTrack &&)=delete | |
MediaTrack & | operator= (MediaTrack &&)=delete |
virtual bool | enabled () const |
virtual void | SetEnabled (bool enabled) |
Public Attributes | |
const std::string | label |
const std::string | language |
const std::string | id |
const MediaTrackKind | kind |
This defines a audio/video track.
Definition at line 79 of file media_track.h.
shaka::media::MediaTrack::MediaTrack | ( | MediaTrackKind | kind, |
const std::string & | label, | ||
const std::string & | language, | ||
const std::string & | id | ||
) |
Definition at line 22 of file media_track_public.cc.
|
virtual |
Definition at line 26 of file media_track_public.cc.
|
delete |
|
delete |
|
virtual |
Reimplemented in shaka::media::ios::AvMediaTrack.
Definition at line 28 of file media_track_public.cc.
|
delete |
|
delete |
|
virtual |
Changes whether this track is currently being played.
Reimplemented in shaka::media::ios::AvMediaTrack.
Definition at line 32 of file media_track_public.cc.
const std::string shaka::media::MediaTrack::id |
The id string of the track.
Definition at line 94 of file media_track.h.
const MediaTrackKind shaka::media::MediaTrack::kind |
The kind of the track.
Definition at line 97 of file media_track.h.
const std::string shaka::media::MediaTrack::label |
The label string of the track.
Definition at line 88 of file media_track.h.
const std::string shaka::media::MediaTrack::language |
The language string of the track.
Definition at line 91 of file media_track.h.