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"
156 const std::vector<StreamDescriptor>& stream_descriptors);
167 static std::string GetLibraryVersion();
188 static std::string DefaultStreamLabelFunction(
198 struct PackagerInternal;
199 std::unique_ptr<PackagerInternal> internal_;
204 #endif // PACKAGER_PACKAGER_H_
std::string segment_template
Specifies segment template. Can be empty.
std::string input
Input/source media file path or network stream URL. Required.
bool hls_only
Set to true to indicate that the stream is for hls only.
MP4 (ISO-BMFF) output related parameters.
std::string hls_playlist_name
Encrypted stream information that is used to determine stream label.
std::string output_format
All the methods that are virtual are virtual for mocking.
EncryptionParams encryption_params
Encryption and Decryption Parameters.
HlsParams hls_params
HLS related parameters.
Defines a single input/output stream.
std::vector< std::string > hls_characteristics
Parameters used for testing.
BufferCallbackParams buffer_callback_params
Buffer callback params.
AdCueGeneratorParams ad_cue_generator_params
Out of band cuepoint parameters.
std::string injected_library_version
Chunking (segmentation) related parameters.
DASH MPD related parameters.
MpdParams mpd_params
DASH MPD related parameters.
std::string stream_selector
bool dump_stream_info
Whether to dump input stream info.
uint32_t trick_play_factor
std::string hls_iframe_playlist_name
std::string temp_dir
Specify temporary directory for intermediate temporary files.
std::vector< std::string > dash_accessiblities
Optional for DASH output. It defines Accessibility elements of the stream.
ChunkingParams chunking_params
Chunking (segmentation) related parameters.
Mp4OutputParams mp4_output_params
MP4 (ISO-BMFF) output related parameters.
uint32_t transport_stream_timestamp_offset_ms
bool dash_only
Set to true to indicate that the stream is for dash only.
Cuepoint generator related parameters.
std::vector< std::string > dash_roles
Optional for DASH output. It defines Role elements of the stream.