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

Unified Diff: webrtc/pc/rtpreceiver.h

Issue 2770233003: Implemented the GetSources() in native code. (Closed)
Patch Set: Address the comments related to threading and the special ContributingSource that uses the SSRC. 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/pc/rtpreceiver.h
diff --git a/webrtc/pc/rtpreceiver.h b/webrtc/pc/rtpreceiver.h
index 513f90c7ab3d9a00796868fe32a85bf5069e7d85..1568b47301b353dec01bbd0a50f425ee7f5f8f2e 100644
--- a/webrtc/pc/rtpreceiver.h
+++ b/webrtc/pc/rtpreceiver.h
@@ -88,6 +88,8 @@ class AudioRtpReceiver : public ObserverInterface,
// Should call SetChannel(nullptr) before |channel| is destroyed.
void SetChannel(cricket::VoiceChannel* channel);
+ std::vector<RtpContributingSource> GetContributingSources() override;
+
private:
void Reconfigure();
void OnFirstPacketReceived(cricket::BaseChannel* channel);

Powered by Google App Engine
This is Rietveld 408576698