Shaka Player Embedded
|
#include <track.h>
Classes | |
class | Impl |
Public Member Functions | |
Track () | |
Track (js::Track &&internal) | |
Track (const Track &) | |
Track (Track &&) | |
~Track () | |
Track & | operator= (const Track &) |
Track & | operator= (Track &&) |
double | id () const |
bool | active () const |
const std::string & | type () const |
double | bandwidth () const |
const std::string & | language () const |
shaka::optional< std::string > | label () const |
shaka::optional< std::string > | kind () const |
shaka::optional< double > | width () const |
shaka::optional< double > | height () const |
shaka::optional< double > | frame_rate () const |
shaka::optional< std::string > | mime_type () const |
shaka::optional< std::string > | codecs () const |
shaka::optional< std::string > | audio_codec () const |
shaka::optional< std::string > | video_codec () const |
bool | primary () const |
const std::vector< std::string > & | roles () const |
shaka::optional< double > | video_id () const |
shaka::optional< double > | audio_id () const |
shaka::optional< double > | channels_count () const |
shaka::optional< double > | audio_bandwidth () const |
shaka::optional< double > | video_bandwidth () const |
js::Track | GetInternal () const |
An object describing a media track. This object should be treated as read-only as changing any values does not have any effect. This is the public view of an audio/video paring (variant type) or text track (text type).
|
default |
|
default |
bool shaka::Track::active | ( | ) | const |
shaka::optional< double > shaka::Track::audio_bandwidth | ( | ) | const |
shaka::optional< std::string > shaka::Track::audio_codec | ( | ) | const |
shaka::optional< double > shaka::Track::audio_id | ( | ) | const |
double shaka::Track::bandwidth | ( | ) | const |
shaka::optional< double > shaka::Track::channels_count | ( | ) | const |
shaka::optional< std::string > shaka::Track::codecs | ( | ) | const |
shaka::optional< double > shaka::Track::frame_rate | ( | ) | const |
js::Track shaka::Track::GetInternal | ( | ) | const |
shaka::optional< double > shaka::Track::height | ( | ) | const |
double shaka::Track::id | ( | ) | const |
shaka::optional< std::string > shaka::Track::kind | ( | ) | const |
shaka::optional< std::string > shaka::Track::label | ( | ) | const |
const std::string & shaka::Track::language | ( | ) | const |
shaka::optional< std::string > shaka::Track::mime_type | ( | ) | const |
bool shaka::Track::primary | ( | ) | const |
True indicates that this in the primary language for the content. This flag is based on signals from the manifest. This can be a useful hint about which language should be the default, and indicates which track Shaka will use when the user's language preference cannot be satisfied.
const std::vector< std::string > & shaka::Track::roles | ( | ) | const |
const std::string & shaka::Track::type | ( | ) | const |
shaka::optional< double > shaka::Track::video_bandwidth | ( | ) | const |
shaka::optional< std::string > shaka::Track::video_codec | ( | ) | const |
shaka::optional< double > shaka::Track::video_id | ( | ) | const |
shaka::optional< double > shaka::Track::width | ( | ) | const |