Shaka Packager SDK
packager
media
base
muxer_options.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
#ifndef PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
8
#define PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
9
10
#include <cstdint>
11
#include <string>
12
13
#include <packager/mp4_output_params.h>
14
15
namespace
shaka
{
16
namespace
media {
17
19
struct
MuxerOptions
{
20
MuxerOptions
();
21
~
MuxerOptions
();
22
24
Mp4OutputParams
mp4_params
;
25
26
// A positive value, in milliseconds, by which output timestamps are offset to
27
// compensate for negative timestamps in the input.
28
int32_t transport_stream_timestamp_offset_ms = 0;
29
33
std::string
output_file_name
;
34
39
std::string
segment_template
;
40
42
std::string
temp_dir
;
43
46
uint32_t
bandwidth
= 0;
47
};
48
49
}
// namespace media
50
}
// namespace shaka
51
52
#endif
// PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
crypto_flags.cc:66
shaka::media::MuxerOptions
This structure contains the list of configuration options for Muxer.
Definition:
muxer_options.h:19
shaka::media::MuxerOptions::output_file_name
std::string output_file_name
Definition:
muxer_options.h:33
shaka::media::MuxerOptions::temp_dir
std::string temp_dir
Specify temporary directory for intermediate files.
Definition:
muxer_options.h:42
shaka::media::MuxerOptions::bandwidth
uint32_t bandwidth
Definition:
muxer_options.h:46
shaka::media::MuxerOptions::mp4_params
Mp4OutputParams mp4_params
MP4 (ISO-BMFF) specific parameters.
Definition:
muxer_options.h:24
shaka::media::MuxerOptions::segment_template
std::string segment_template
Definition:
muxer_options.h:39
Generated on Mon Nov 11 2024 19:07:10 for Shaka Packager SDK by
1.9.1