DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
media
formats
webvtt
cue.h
1
#include <stdint.h>
2
3
#include <memory>
4
#include <string>
5
#include <vector>
6
7
#include "packager/media/base/media_sample.h"
8
9
namespace
shaka {
10
namespace
media {
11
12
// If comment is not empty, then this is metadata and other fields must
13
// be empty.
14
// Data that can be multiline are vector of strings.
15
struct
Cue
{
16
Cue
();
17
~
Cue
();
18
19
std::string identifier;
20
uint64_t start_time;
21
uint64_t duration;
22
std::string settings;
23
std::vector<std::string> payload;
24
std::vector<std::string> comment;
25
};
26
30
std::shared_ptr<MediaSample> CueToMediaSample(
const
Cue
& cue);
31
35
Cue
MediaSampleToCue(
const
MediaSample
& sample);
36
37
}
// namespace media
38
}
// namespace shaka
shaka::media::MediaSample
Class to hold a media sample.
Definition:
media_sample.h:22
shaka::media::Cue
Definition:
cue.h:15
Generated on Mon Mar 13 2017 23:19:11 for DASH Media Packaging SDK by
1.8.6