Shaka Packager SDK
mp4_output_params.h
1 // Copyright 2017 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 #ifndef PACKAGER_MEDIA_PUBLIC_MP4_OUTPUT_PARAMS_H_
8 #define PACKAGER_MEDIA_PUBLIC_MP4_OUTPUT_PARAMS_H_
9 
10 namespace shaka {
11 
14  // Include pssh in the encrypted stream. CMAF and DASH-IF recommends carrying
15  // license acquisition information in the manifest and not duplicate the
16  // information in the stream. (This is not a hard requirement so we are still
17  // CMAF compatible even if pssh is included in the stream.)
18  bool include_pssh_in_stream = true;
24  static constexpr int kNoSidxBoxInSegment = -1;
25  static constexpr int kSingleSidxPerSegment = 0;
26  int num_subsegments_per_sidx = kSingleSidxPerSegment;
32 };
33 
34 } // namespace shaka
35 
36 #endif // PACKAGER_MEDIA_PUBLIC_MP4_OUTPUT_PARAMS_H_
static constexpr int kNoSidxBoxInSegment
All the methods that are virtual are virtual for mocking.
MP4 (ISO-BMFF) output related parameters.