OLD | NEW |
(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 WebRTCRtpContributingSource_h |
| 6 #define WebRTCRtpContributingSource_h |
| 7 |
| 8 #include "WebCommon.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 enum class WebRTCRtpContributingSourceType { |
| 13 SSRC, |
| 14 CSRC, |
| 15 }; |
| 16 |
| 17 // https://w3c.github.io/webrtc-pc/#dom-rtcrtpcontributingsource |
| 18 class BLINK_PLATFORM_EXPORT WebRTCRtpContributingSource { |
| 19 public: |
| 20 virtual ~WebRTCRtpContributingSource(); |
| 21 |
| 22 virtual WebRTCRtpContributingSourceType SourceType() const = 0; |
| 23 virtual double TimestampMs() const = 0; |
| 24 virtual uint32_t Source() const = 0; |
| 25 }; |
| 26 |
| 27 } // namespace blink |
| 28 |
| 29 #endif // WebRTCRtpContributingSource_h |
OLD | NEW |