summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/peerconnection/rtc_rtp_receiver.idl
blob: c31fddbb40e36144b02ace170a9080d7696990aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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.

// https://w3c.github.io/webrtc-pc/#rtcrtpreceiver-interface
[Exposed=Window]
interface RTCRtpReceiver {
    readonly attribute MediaStreamTrack track;
    static RTCRtpCapabilities?             getCapabilities(DOMString kind);
    sequence<RTCRtpContributingSource> getContributingSources();
    [CallWith=ScriptState] Promise<RTCStatsReport> getStats();
    // TODO(hbos): Support every member of the spec. https://crbug.com/700916
};