7 #ifndef APP_STREAM_DESCRIPTOR_H_
8 #define APP_STREAM_DESCRIPTOR_H_
15 #include "packager/media/base/container_names.h"
26 std::string stream_selector;
29 std::string segment_template;
30 uint32_t bandwidth = 0;
32 MediaContainerName output_format = CONTAINER_UNKNOWN;
34 std::string hls_group_id;
35 std::string hls_playlist_name;
36 uint32_t trick_play_factor = 0;
37 bool skip_encryption =
false;
43 if (a.input == b.input) {
44 if (a.stream_selector == b.stream_selector)
46 return a.trick_play_factor > b.trick_play_factor;
48 return a.stream_selector < b.stream_selector;
51 return a.input < b.input;
56 typedef std::multiset<StreamDescriptor, StreamDescriptorCompareFn>
66 bool InsertStreamDescriptor(
const std::string& descriptor_string,
67 StreamDescriptorList* descriptor_list);
72 #endif // APP_STREAM_DESCRIPTOR_H_