| 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..2970beb1d7f0ba673fcbca0c04515c2c6791d633
|
| --- /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
|
|
|