Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: webrtc/media/base/mediachannel.h

Issue 2770233003: Implemented the GetSources() in native code. (Closed)
Patch Set: Merge and add the tests. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/base/mediachannel.h
diff --git a/webrtc/media/base/mediachannel.h b/webrtc/media/base/mediachannel.h
index ca02c72fcdeee3092dc37c4529b51b37fa77a4d9..a0087d02c805b9524f35b56eab9cae8790cdfa7d 100644
--- a/webrtc/media/base/mediachannel.h
+++ b/webrtc/media/base/mediachannel.h
@@ -43,6 +43,7 @@ class Timing;
namespace webrtc {
class AudioSinkInterface;
+class RtpContributingSource;
class VideoFrame;
}
@@ -1006,6 +1007,9 @@ class VoiceMediaChannel : public MediaChannel {
virtual void SetRawAudioSink(
uint32_t ssrc,
std::unique_ptr<webrtc::AudioSinkInterface> sink) = 0;
+
+ virtual const std::vector<webrtc::RtpContributingSource*>&
+ GetContributingSources(uint32_t ssrc) = 0;
};
// TODO(deadbeef): Rename to VideoSenderParameters, since they're intended to

Powered by Google App Engine
This is Rietveld 408576698