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 MuxerOptions;
26 
31 std::unique_ptr<KeySource> CreateEncryptionKeySource();
32 
37 std::unique_ptr<KeySource> CreateDecryptionKeySource();
38 
40 bool GetMuxerOptions(MuxerOptions* muxer_options);
41 
43 bool GetMpdOptions(bool on_demand_profile, MpdOptions* mpd_options);
44 
45 } // namespace media
46 } // namespace shaka
47 
48 #endif // PACKAGER_APP_PACKAGER_UTIL_H_