Shaka Packager SDK
Loading...
Searching...
No Matches
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
12namespace shaka {
13
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_
All the methods that are virtual are virtual for mocking.