DASH Media Packaging SDK
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
packager_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 // Packager utility functions.
8 
9 #ifndef PACKAGER_APP_PACKAGER_UTIL_H_
10 #define PACKAGER_APP_PACKAGER_UTIL_H_
11 
12 #include <gflags/gflags.h>
13 
14 #include <memory>
15 
16 DECLARE_bool(dump_stream_info);
17 
18 namespace shaka {
19 
20 struct MpdOptions;
21 
22 namespace media {
23 
24 class KeySource;
25 struct ChunkingOptions;
26 struct MuxerOptions;
27 
32 std::unique_ptr<KeySource> CreateEncryptionKeySource();
33 
38 std::unique_ptr<KeySource> CreateDecryptionKeySource();
39 
41 ChunkingOptions GetChunkingOptions();
42 
44 MuxerOptions GetMuxerOptions();
45 
47 MpdOptions GetMpdOptions(bool on_demand_profile);
48 
49 } // namespace media
50 } // namespace shaka
51 
52 #endif // PACKAGER_APP_PACKAGER_UTIL_H_