16 #ifndef ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_MEDIAPLAYER_MEDIADESCRIPTION_H_ 17 #define ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_MEDIAPLAYER_MEDIADESCRIPTION_H_ 19 #include <unordered_map> 31 namespace mediaPlayer {
71 Optional<std::vector<audioAnalyzer::AudioAnalyzerState>>(),
72 std::unordered_map<std::string, std::string>(),
84 stream <<
"MixingBehavior:";
87 stream <<
"BEHAVIOR_PAUSE";
90 stream <<
"BEHAVIOR_DUCK";
93 stream <<
", Channel:" << mediaDescription.
focusChannel <<
", ";
94 stream <<
", TrackId:" << mediaDescription.
trackId;
95 if (mediaDescription.
caption.hasValue()) {
96 stream <<
", CaptionData:{format:" << (mediaDescription.
caption.value()).format;
97 stream <<
", content:" << (mediaDescription.
caption.value()).content <<
"}";
99 if (mediaDescription.
analyzers.hasValue()) {
100 stream <<
", Analyzers:{";
101 const auto analyzersCopy = mediaDescription.
analyzers.value();
102 for (
auto iter = analyzersCopy.begin(); iter != analyzersCopy.end(); iter++) {
103 stream <<
"{name:" << (*iter).name;
104 stream <<
", enableState:" << (*iter).enableState <<
"}";
108 stream <<
", AdditionalData:{";
110 for (
auto iter = additionalDataCopy.begin(); iter != additionalDataCopy.end(); iter++) {
111 stream <<
"{" << (*iter).first;
112 stream <<
":" << (*iter).second <<
"}";
114 stream <<
"}, enabled: " << (mediaDescription.
enabled ?
"true" :
"false") <<
" }";
123 #endif // ALEXA_CLIENT_SDK_AVSCOMMON_UTILS_INCLUDE_AVSCOMMON_UTILS_MEDIAPLAYER_MEDIADESCRIPTION_H_
::std::string string
Definition: gtest-port.h:1097
Duck or attentuate current playback.
Definition: Optional.h:32
MixingBehavior
Definition: MixingBehavior.h:27
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36