blob: 00a656f8f85b18501905000e4f68005af8b417e9 [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.
// https://w3c.github.io/webrtc-pc/#rtcrtpsender-interface
[Exposed=Window]
interface RTCRtpSender {
readonly attribute MediaStreamTrack? track;
[Measure, CallWith=ScriptState] Promise<void> replaceTrack(MediaStreamTrack? withTrack);
// TODO(hbos): Implement the rest of RTCRtpSender, https://crbug.com/700916.
};