| 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 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 // Sender SSRC used for sending RTCP (such as receiver reports). | 73 // Sender SSRC used for sending RTCP (such as receiver reports). |
| 74 uint32_t local_ssrc = 0; | 74 uint32_t local_ssrc = 0; |
| 75 | 75 |
| 76 // Enable feedback for send side bandwidth estimation. | 76 // Enable feedback for send side bandwidth estimation. |
| 77 // See | 77 // See |
| 78 // https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extens
ions | 78 // https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extens
ions |
| 79 // for details. | 79 // for details. |
| 80 bool transport_cc = false; | 80 bool transport_cc = false; |
| 81 | 81 |
| 82 // See NackConfig for description. |
| 83 NackConfig nack; |
| 84 |
| 82 // RTP header extensions used for the received stream. | 85 // RTP header extensions used for the received stream. |
| 83 std::vector<RtpExtension> extensions; | 86 std::vector<RtpExtension> extensions; |
| 84 } rtp; | 87 } rtp; |
| 85 | 88 |
| 86 Transport* rtcp_send_transport = nullptr; | 89 Transport* rtcp_send_transport = nullptr; |
| 87 | 90 |
| 88 // Underlying VoiceEngine handle, used to map AudioReceiveStream to lower- | 91 // Underlying VoiceEngine handle, used to map AudioReceiveStream to lower- |
| 89 // level components. | 92 // level components. |
| 90 // TODO(solenberg): Remove when VoiceEngine channels are created outside | 93 // TODO(solenberg): Remove when VoiceEngine channels are created outside |
| 91 // of Call. | 94 // of Call. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 // is being pulled+rendered and/or if audio is being pulled for the purposes | 126 // is being pulled+rendered and/or if audio is being pulled for the purposes |
| 124 // of feeding to the AEC. | 127 // of feeding to the AEC. |
| 125 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0; | 128 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0; |
| 126 | 129 |
| 127 protected: | 130 protected: |
| 128 virtual ~AudioReceiveStream() {} | 131 virtual ~AudioReceiveStream() {} |
| 129 }; | 132 }; |
| 130 } // namespace webrtc | 133 } // namespace webrtc |
| 131 | 134 |
| 132 #endif // WEBRTC_AUDIO_RECEIVE_STREAM_H_ | 135 #endif // WEBRTC_AUDIO_RECEIVE_STREAM_H_ |
| OLD | NEW |