7 #ifndef PACKAGER_PACKAGER_H_
8 #define PACKAGER_PACKAGER_H_
14 #include "packager/file/public/buffer_callback_params.h"
15 #include "packager/hls/public/hls_params.h"
16 #include "packager/media/public/ad_cue_generator_params.h"
17 #include "packager/media/public/chunking_params.h"
18 #include "packager/media/public/crypto_params.h"
19 #include "packager/media/public/mp4_output_params.h"
20 #include "packager/mpd/public/mpd_params.h"
21 #include "packager/status.h"
128 const std::vector<StreamDescriptor>& stream_descriptors);
139 static std::string GetLibraryVersion();
160 static std::string DefaultStreamLabelFunction(
170 struct PackagerInternal;
171 std::unique_ptr<PackagerInternal> internal_;
176 #endif // PACKAGER_PACKAGER_H_
std::string stream_selector
BufferCallbackParams buffer_callback_params
Buffer callback params.
DASH MPD related parameters.
Defines a single input/output stream.
std::string input
Input/source media file path or network stream URL. Required.
HlsParams hls_params
HLS related parameters.
ChunkingParams chunking_params
Chunking (segmentation) related parameters.
std::string hls_playlist_name
std::string segment_template
Specifies segment template. Can be empty.
Parameters used for testing.
std::string output_format
bool dump_stream_info
Whether to dump input stream info.
std::string injected_library_version
MpdParams mpd_params
DASH MPD related parameters.
MP4 (ISO-BMFF) output related parameters.
AdCueGeneratorParams ad_cue_generator_params
Out of band cuepoint parameters.
std::string temp_dir
Specify temporary directory for intermediate temporary files.
Cuepoint generator related parameters.
Mp4OutputParams mp4_output_params
MP4 (ISO-BMFF) output related parameters.
EncryptionParams encryption_params
Encryption and Decryption Parameters.
uint32_t trick_play_factor
Chunking (segmentation) related parameters.
Encrypted stream information that is used to determine stream label.