Shaka Packager SDK
muxer_util.h
1 // Copyright 2014 Google Inc. 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 <stdint.h>
13 
14 #include "packager/status.h"
15 
16 namespace shaka {
17 namespace media {
18 
19 class StreamInfo;
20 
25 // ISO/IEC 23009-1:2012 5.3.9.4.4.
26 Status ValidateSegmentTemplate(const std::string& segment_template);
27 
35 std::string GetSegmentName(const std::string& segment_template,
36  uint64_t segment_start_time,
37  uint32_t segment_index,
38  uint32_t bandwidth);
39 
40 } // namespace media
41 } // namespace shaka
42 
43 #endif // PACKAGER_MEDIA_BASE_MUXER_UTIL_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition: gflags_hex_bytes.cc:11