Parser for WebM Tracks element.
More...
#include <webm_tracks_parser.h>
Parser for WebM Tracks element.
Definition at line 27 of file webm_tracks_parser.h.
◆ TextTracks
| typedef std::map<int, TextTrackConfig> shaka::media::WebMTracksParser::TextTracks |
◆ WebMTracksParser()
| shaka::media::WebMTracksParser::WebMTracksParser |
( |
bool |
ignore_text_tracks | ) |
|
|
explicit |
◆ ~WebMTracksParser()
| shaka::media::WebMTracksParser::~WebMTracksParser |
( |
| ) |
|
|
override |
◆ audio_encryption_key_id()
| const std::string & shaka::media::WebMTracksParser::audio_encryption_key_id |
( |
| ) |
const |
|
inline |
◆ audio_stream_info()
| std::shared_ptr< AudioStreamInfo > shaka::media::WebMTracksParser::audio_stream_info |
( |
| ) |
|
|
inline |
◆ audio_track_num()
| int64_t shaka::media::WebMTracksParser::audio_track_num |
( |
| ) |
const |
|
inline |
◆ GetAudioDefaultDuration()
| int64_t shaka::media::WebMTracksParser::GetAudioDefaultDuration |
( |
const double |
timecode_scale_in_us | ) |
const |
If TrackEntry DefaultDuration field existed for the associated audio or video track, returns that value converted from ns to base::TimeDelta with precision not greater than |timecode_scale_in_us|. Defaults to kNoTimestamp.
Definition at line 91 of file webm_tracks_parser.cc.
◆ GetVideoDefaultDuration()
| int64_t shaka::media::WebMTracksParser::GetVideoDefaultDuration |
( |
const double |
timecode_scale_in_us | ) |
const |
◆ ignored_tracks()
| const std::set< int64_t > & shaka::media::WebMTracksParser::ignored_tracks |
( |
| ) |
const |
|
inline |
◆ Parse()
| int shaka::media::WebMTracksParser::Parse |
( |
const uint8_t * |
buf, |
|
|
int |
size |
|
) |
| |
Parses a WebM Tracks element in |buf|.
- Returns
- -1 if the parse fails.
-
0 if more data is needed.
-
The number of bytes parsed on success.
Definition at line 66 of file webm_tracks_parser.cc.
◆ text_tracks()
| const TextTracks & shaka::media::WebMTracksParser::text_tracks |
( |
| ) |
const |
|
inline |
◆ video_encryption_key_id()
| const std::string & shaka::media::WebMTracksParser::video_encryption_key_id |
( |
| ) |
const |
|
inline |
◆ video_stream_info()
| std::shared_ptr< VideoStreamInfo > shaka::media::WebMTracksParser::video_stream_info |
( |
| ) |
|
|
inline |
◆ video_track_num()
| int64_t shaka::media::WebMTracksParser::video_track_num |
( |
| ) |
const |
|
inline |
◆ vp_config()
The documentation for this class was generated from the following files: