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

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

Issue 2803693002: RTCRtpReceiver.getContributingSources() added. (Closed)
Patch Set: Rebase with master after dep CL landed Created 3 years, 8 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
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebRTCRtpReceiver.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebRTCRtpContributingSource.h
diff --git a/third_party/WebKit/public/platform/WebRTCRtpContributingSource.h b/third_party/WebKit/public/platform/WebRTCRtpContributingSource.h
new file mode 100644
index 0000000000000000000000000000000000000000..69910672ba3a7a152433570d87643e06ddc85eb5
--- /dev/null
+++ b/third_party/WebKit/public/platform/WebRTCRtpContributingSource.h
@@ -0,0 +1,29 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebRTCRtpContributingSource_h
+#define WebRTCRtpContributingSource_h
+
+#include "WebCommon.h"
+
+namespace blink {
+
+enum class WebRTCRtpContributingSourceType {
+ SSRC,
+ CSRC,
+};
+
+// https://w3c.github.io/webrtc-pc/#dom-rtcrtpcontributingsource
+class BLINK_PLATFORM_EXPORT WebRTCRtpContributingSource {
+ public:
+ virtual ~WebRTCRtpContributingSource();
+
+ virtual WebRTCRtpContributingSourceType SourceType() const = 0;
+ virtual double TimestampMs() const = 0;
+ virtual uint32_t Source() const = 0;
+};
+
+} // namespace blink
+
+#endif // WebRTCRtpContributingSource_h
« no previous file with comments | « third_party/WebKit/public/BUILD.gn ('k') | third_party/WebKit/public/platform/WebRTCRtpReceiver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698