| Index: webrtc/config.cc
|
| diff --git a/webrtc/config.cc b/webrtc/config.cc
|
| index 7c1a0a8bc6ecbdb85198435065b1f3be2d6f2463..3761d66cc7484ac909f4619c34269c7013d9d797 100644
|
| --- a/webrtc/config.cc
|
| +++ b/webrtc/config.cc
|
| @@ -117,14 +117,21 @@
|
| : content_type(ContentType::kRealtimeVideo),
|
| encoder_specific_settings(nullptr),
|
| min_transmit_bitrate_bps(0),
|
| - max_bitrate_bps(0),
|
| - number_of_streams(0) {}
|
| + expect_encode_from_texture(false) {}
|
|
|
| VideoEncoderConfig::~VideoEncoderConfig() = default;
|
|
|
| std::string VideoEncoderConfig::ToString() const {
|
| std::stringstream ss;
|
| - ss << "{content_type: ";
|
| +
|
| + ss << "{streams: [";
|
| + for (size_t i = 0; i < streams.size(); ++i) {
|
| + ss << streams[i].ToString();
|
| + if (i != streams.size() - 1)
|
| + ss << ", ";
|
| + }
|
| + ss << ']';
|
| + ss << ", content_type: ";
|
| switch (content_type) {
|
| case ContentType::kRealtimeVideo:
|
| ss << "kRealtimeVideo";
|
|
|