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
#ifndef PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_
2
#define PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_
3
4
#include <stdint.h>
5
6
#include <memory>
7
#include <string>
8
#include <vector>
9
10
#include "packager/media/base/media_sample.h"
11
12
namespace
shaka {
13
namespace
media {
14
15
// If comment is not empty, then this is metadata and other fields must
16
// be empty.
17
// Data that can be multiline are vector of strings.
18
struct
Cue
{
19
Cue
();
20
~
Cue
();
21
22
std::string identifier;
23
uint64_t start_time;
24
uint64_t duration;
25
std::string settings;
26
27
// |payload| and |comment| may have trailing "\n" character.
28
std::string payload;
29
std::string comment;
30
};
31
32
}
// namespace media
33
}
// namespace shaka
34
35
#endif // PACKAGER_MEDIA_FORMATS_WEBVTT_CUE_H_
shaka::media::Cue
Definition:
cue.h:18
Generated on Wed Mar 22 2017 17:04:02 for DASH Media Packaging SDK by
1.8.6