| 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;
|
|
|