blob: 51d1575f7c4dd75538e853edf2234e7bc08e5712 [file] [log] [blame]
// 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 THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_RTP_CONTRIBUTING_SOURCE_H_
#define THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_RTP_CONTRIBUTING_SOURCE_H_
#include "third_party/blink/public/platform/web_common.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 // THIRD_PARTY_BLINK_PUBLIC_PLATFORM_WEB_RTC_RTP_CONTRIBUTING_SOURCE_H_