Shaka Packager SDK
Loading...
Searching...
No Matches
muxer_util.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// Muxer utility functions.
8
9#ifndef PACKAGER_MEDIA_BASE_MUXER_UTIL_H_
10#define PACKAGER_MEDIA_BASE_MUXER_UTIL_H_
11
12#include <cstdint>
13
14#include <packager/status.h>
15
16namespace shaka {
17namespace media {
18
19class StreamInfo;
20
25// ISO/IEC 23009-1:2012 5.3.9.4.4.
26Status ValidateSegmentTemplate(const std::string& segment_template);
27
35std::string GetSegmentName(const std::string& segment_template,
36 int64_t segment_start_time,
37 uint32_t segment_number,
38 uint32_t bandwidth);
39
40} // namespace media
41} // namespace shaka
42
43#endif // PACKAGER_MEDIA_BASE_MUXER_UTIL_H_
All the methods that are virtual are virtual for mocking.