| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 AudioSendStream::Stats::Stats() = default; | 32 AudioSendStream::Stats::Stats() = default; |
| 33 | 33 |
| 34 AudioSendStream::Config::Config(Transport* send_transport) | 34 AudioSendStream::Config::Config(Transport* send_transport) |
| 35 : send_transport(send_transport) {} | 35 : send_transport(send_transport) {} |
| 36 | 36 |
| 37 std::string AudioSendStream::Config::ToString() const { | 37 std::string AudioSendStream::Config::ToString() const { |
| 38 std::stringstream ss; | 38 std::stringstream ss; |
| 39 ss << "{rtp: " << rtp.ToString(); | 39 ss << "{rtp: " << rtp.ToString(); |
| 40 ss << ", send_transport: " << (send_transport ? "(Transport)" : "nullptr"); | 40 ss << ", send_transport: " << (send_transport ? "(Transport)" : "nullptr"); |
| 41 ss << ", voe_channel_id: " << voe_channel_id; | 41 ss << ", voe_channel_id: " << voe_channel_id; |
| 42 ss << ", min_bitrate_kbps: " << min_bitrate_kbps; | 42 ss << ", min_bitrate_bps: " << min_bitrate_bps; |
| 43 ss << ", max_bitrate_kbps: " << max_bitrate_kbps; | 43 ss << ", max_bitrate_bps: " << max_bitrate_bps; |
| 44 ss << ", send_codec_spec: " << send_codec_spec.ToString(); | 44 ss << ", send_codec_spec: " << send_codec_spec.ToString(); |
| 45 ss << '}'; | 45 ss << '}'; |
| 46 return ss.str(); | 46 return ss.str(); |
| 47 } | 47 } |
| 48 | 48 |
| 49 AudioSendStream::Config::Rtp::Rtp() = default; | 49 AudioSendStream::Config::Rtp::Rtp() = default; |
| 50 | 50 |
| 51 AudioSendStream::Config::Rtp::~Rtp() = default; | 51 AudioSendStream::Config::Rtp::~Rtp() = default; |
| 52 | 52 |
| 53 std::string AudioSendStream::Config::Rtp::ToString() const { | 53 std::string AudioSendStream::Config::Rtp::ToString() const { |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 } | 109 } |
| 110 if (cng_plfreq != rhs.cng_plfreq) { | 110 if (cng_plfreq != rhs.cng_plfreq) { |
| 111 return false; | 111 return false; |
| 112 } | 112 } |
| 113 if (codec_inst != rhs.codec_inst) { | 113 if (codec_inst != rhs.codec_inst) { |
| 114 return false; | 114 return false; |
| 115 } | 115 } |
| 116 return true; | 116 return true; |
| 117 } | 117 } |
| 118 } // namespace webrtc | 118 } // namespace webrtc |
| OLD | NEW |