2023-12-01 17:32:19 +00:00
|
|
|
// Copyright 2017 Google LLC. All rights reserved.
|
2017-05-01 23:17:09 +00:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
//
|
|
|
|
// Event handler for events fired by Muxer.
|
|
|
|
|
|
|
|
#ifndef PACKAGER_MEDIA_BASE_RANGE_H_
|
|
|
|
#define PACKAGER_MEDIA_BASE_RANGE_H_
|
|
|
|
|
2023-12-01 17:32:19 +00:00
|
|
|
#include <cstdint>
|
2017-05-01 23:17:09 +00:00
|
|
|
|
|
|
|
namespace shaka {
|
|
|
|
namespace media {
|
|
|
|
|
|
|
|
/// Structure for specifying a range.
|
|
|
|
/// The start and end are inclusive which is equivalent to [start, end].
|
|
|
|
struct Range {
|
|
|
|
uint64_t start;
|
|
|
|
uint64_t end;
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace media
|
|
|
|
} // namespace shaka
|
|
|
|
|
|
|
|
#endif // PACKAGER_MEDIA_BASE_RANGE_H_
|