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

Side by Side Diff: third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h

Issue 2749703005: RTCRtpSender with track behind RuntimeEnabled flag (Closed)
Patch Set: external/wpt/webrtc/RTCPeerConnection-idl-expected.txt updated passing 2 more tests Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 class WebMediaConstraints; 39 class WebMediaConstraints;
40 class WebMediaStream; 40 class WebMediaStream;
41 class WebMediaStreamTrack; 41 class WebMediaStreamTrack;
42 class WebRTCAnswerOptions; 42 class WebRTCAnswerOptions;
43 class WebRTCDTMFSenderHandler; 43 class WebRTCDTMFSenderHandler;
44 class WebRTCDataChannelHandler; 44 class WebRTCDataChannelHandler;
45 enum class WebRTCErrorType; 45 enum class WebRTCErrorType;
46 class WebRTCICECandidate; 46 class WebRTCICECandidate;
47 class WebRTCOfferOptions; 47 class WebRTCOfferOptions;
48 class WebRTCRtpReceiver; 48 class WebRTCRtpReceiver;
49 class WebRTCRtpSender;
49 class WebRTCSessionDescription; 50 class WebRTCSessionDescription;
50 class WebRTCSessionDescriptionRequest; 51 class WebRTCSessionDescriptionRequest;
51 class WebRTCStatsRequest; 52 class WebRTCStatsRequest;
52 class WebRTCVoidRequest; 53 class WebRTCVoidRequest;
53 class WebString; 54 class WebString;
54 struct WebRTCConfiguration; 55 struct WebRTCConfiguration;
55 struct WebRTCDataChannelInit; 56 struct WebRTCDataChannelInit;
56 57
57 class WebRTCPeerConnectionHandler { 58 class WebRTCPeerConnectionHandler {
58 public: 59 public:
(...skipping 28 matching lines...) Expand all
87 virtual bool AddStream(const WebMediaStream&, const WebMediaConstraints&) = 0; 88 virtual bool AddStream(const WebMediaStream&, const WebMediaConstraints&) = 0;
88 virtual void RemoveStream(const WebMediaStream&) = 0; 89 virtual void RemoveStream(const WebMediaStream&) = 0;
89 virtual void GetStats(const WebRTCStatsRequest&) = 0; 90 virtual void GetStats(const WebRTCStatsRequest&) = 0;
90 // Gets stats using the new stats collection API, see 91 // Gets stats using the new stats collection API, see
91 // third_party/webrtc/api/stats/. These will replace the old stats collection 92 // third_party/webrtc/api/stats/. These will replace the old stats collection
92 // API when the new API has matured enough. 93 // API when the new API has matured enough.
93 virtual void GetStats(std::unique_ptr<WebRTCStatsReportCallback>) = 0; 94 virtual void GetStats(std::unique_ptr<WebRTCStatsReportCallback>) = 0;
94 virtual WebRTCDataChannelHandler* CreateDataChannel( 95 virtual WebRTCDataChannelHandler* CreateDataChannel(
95 const WebString& label, 96 const WebString& label,
96 const WebRTCDataChannelInit&) = 0; 97 const WebRTCDataChannelInit&) = 0;
98 // Gets senders used by the peer connection. These are wrappers referencing
99 // webrtc-layer senders, multiple |WebRTCRtpSender| objects referencing the
100 // same webrtc-layer sender have the same |id|.
101 virtual WebVector<std::unique_ptr<WebRTCRtpSender>> GetSenders() = 0;
97 // Gets receivers used by the peer connection. These are wrappers referencing 102 // Gets receivers used by the peer connection. These are wrappers referencing
98 // webrtc-layer receivers, multiple |WebRTCRtpReceiver| objects referencing 103 // webrtc-layer receivers, multiple |WebRTCRtpReceiver| objects referencing
99 // the same webrtc-layer receiver have the same |id|. 104 // the same webrtc-layer receiver have the same |id|.
100 virtual WebVector<std::unique_ptr<WebRTCRtpReceiver>> GetReceivers() = 0; 105 virtual WebVector<std::unique_ptr<WebRTCRtpReceiver>> GetReceivers() = 0;
101 virtual WebRTCDTMFSenderHandler* CreateDTMFSender( 106 virtual WebRTCDTMFSenderHandler* CreateDTMFSender(
102 const WebMediaStreamTrack&) = 0; 107 const WebMediaStreamTrack&) = 0;
103 virtual void Stop() = 0; 108 virtual void Stop() = 0;
104 }; 109 };
105 110
106 } // namespace blink 111 } // namespace blink
107 112
108 #endif // WebRTCPeerConnectionHandler_h 113 #endif // WebRTCPeerConnectionHandler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebRTCRtpSender.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698