Chromium Code Reviews| Index: webrtc/voice_engine/channel.h |
| diff --git a/webrtc/voice_engine/channel.h b/webrtc/voice_engine/channel.h |
| index 13d8e49877a3d74f924dcded2105013babfb10ae..c6d4f04e9b26a6711eaff955d38e2e7c053c255e 100644 |
| --- a/webrtc/voice_engine/channel.h |
| +++ b/webrtc/voice_engine/channel.h |
| @@ -28,6 +28,7 @@ |
| #include "webrtc/modules/audio_processing/rms_level.h" |
| #include "webrtc/modules/rtp_rtcp/include/remote_ntp_time_estimator.h" |
| #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
| +#include "webrtc/modules/rtp_rtcp/include/rtp_receiver.h" |
| #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
| #include "webrtc/voice_engine/audio_level.h" |
| #include "webrtc/voice_engine/file_player.h" |
| @@ -52,7 +53,6 @@ class ReceiveStatistics; |
| class RemoteNtpTimeEstimator; |
| class RtcEventLog; |
| class RTPPayloadRegistry; |
| -class RtpReceiver; |
| class RTPReceiverAudio; |
| class RtpPacketReceived; |
| class RtpRtcp; |
| @@ -399,6 +399,10 @@ class Channel |
| void OnRecoverableUplinkPacketLossRate(float recoverable_packet_loss_rate); |
| + const std::vector<RtpSource> GetSources() { |
|
hbos
2017/04/05 11:15:42
Make the return value non-const since it's returne
Zhi Huang
2017/04/06 03:09:50
Done.
|
| + return rtp_receiver_->GetSources(); |
| + } |
| + |
| private: |
| class ProcessAndEncodeAudioTask; |