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

Side by Side Diff: third_party/WebKit/public/platform/WebRTCRtpSender.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
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebRTCRtpSender_h
6 #define WebRTCRtpSender_h
7
8 #include "WebCommon.h"
9 #include "WebString.h"
10
11 namespace blink {
12
13 class WebMediaStreamTrack;
14
15 // Implementations of this interface keep the corresponding WebRTC-layer sender
16 // alive through reference counting. Multiple |WebRTCRtpSender|s could reference
17 // the same sender; check for equality with |id|.
18 // https://w3c.github.io/webrtc-pc/#rtcrtpsender-interface
19 class BLINK_PLATFORM_EXPORT WebRTCRtpSender {
20 public:
21 virtual ~WebRTCRtpSender();
22
23 // Two |WebRTCRtpSender|s referencing the same WebRTC-layer sender have the
24 // same |id|. IDs are guaranteed to be unique amongst senders but they are
25 // allowed to be reused after a sender is destroyed.
26 virtual uintptr_t Id() const = 0;
27 virtual const WebMediaStreamTrack* Track() const = 0;
28 };
29
30 } // namespace blink
31
32 #endif // WebRTCRtpSender_h
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698