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

Unified Diff: third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h

Issue 2759953003: Interface RTCRtpReceiver and RTCPeerConnection.getReceivers() added. (Closed)
Patch Set: DISALLOW_COPY_AND_ASSIGN 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: third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
diff --git a/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h b/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
index 73931a21f806cc3a637d2d05bdfc125e8e50188e..f70240b36100388bcd6f9885966fc099c11b4101 100644
--- a/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
+++ b/third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h
@@ -32,6 +32,7 @@
#define WebRTCPeerConnectionHandler_h
#include "WebRTCStats.h"
+#include "WebVector.h"
namespace blink {
@@ -44,6 +45,7 @@ class WebRTCDataChannelHandler;
enum class WebRTCErrorType;
class WebRTCICECandidate;
class WebRTCOfferOptions;
+class WebRTCRtpReceiver;
class WebRTCSessionDescription;
class WebRTCSessionDescriptionRequest;
class WebRTCStatsRequest;
@@ -92,6 +94,10 @@ class WebRTCPeerConnectionHandler {
virtual WebRTCDataChannelHandler* createDataChannel(
const WebString& label,
const WebRTCDataChannelInit&) = 0;
+ // Gets receivers used by the peer connection. These are wrappers referencing
+ // webrtc-layer receivers, multiple |WebRTCRtpReceiver| objects referencing
+ // the same webrtc-layer receiver have the same |id|.
+ virtual WebVector<std::unique_ptr<WebRTCRtpReceiver>> getReceivers() = 0;
virtual WebRTCDTMFSenderHandler* createDTMFSender(
const WebMediaStreamTrack&) = 0;
virtual void stop() = 0;
« no previous file with comments | « third_party/WebKit/public/platform/WebMediaStream.h ('k') | third_party/WebKit/public/platform/WebRTCRtpReceiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698