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_rate = 0;
42 if (a.input == b.input) {
43 if (a.stream_selector == b.stream_selector)
45 return a.trick_play_rate > b.trick_play_rate;
47 return a.stream_selector < b.stream_selector;
50 return a.input < b.input;
55 typedef std::multiset<StreamDescriptor, StreamDescriptorCompareFn>
65 bool InsertStreamDescriptor(
const std::string& descriptor_string,
66 StreamDescriptorList* descriptor_list);
71 #endif // APP_STREAM_DESCRIPTOR_H_