Shaka Packager SDK
packager
mpd
base
segment_info.h
1
// Copyright 2014 Google LLC. All rights reserved.
2
//
3
// Use of this source code is governed by a BSD-style
4
// license that can be found in the LICENSE file or at
5
// https://developers.google.com/open-source/licenses/bsd
6
7
#ifndef MPD_BASE_SEGMENT_INFO_H_
8
#define MPD_BASE_SEGMENT_INFO_H_
9
10
#include <cstdint>
11
12
namespace
shaka
{
13
17
struct
SegmentInfo
{
18
int64_t start_time;
19
int64_t duration;
20
// This is the number of times same duration segments are repeated not
21
// inclusive. In other words if this is the only one segment that starts at
22
// |start_time| and has |duration| but none others have |start_time| * N and
23
// |duration|, then this should be set to 0. The semantics is the same as S@r
24
// in the DASH MPD spec.
25
int
repeat;
26
int64_t start_segment_number;
27
};
28
29
}
// namespace shaka
30
31
#endif
// MPD_BASE_SEGMENT_INFO_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
crypto_flags.cc:66
shaka::SegmentInfo
Definition:
segment_info.h:17
Generated on Mon Nov 11 2024 19:07:11 for Shaka Packager SDK by
1.9.1