chromium/third_party/blink/renderer/modules/mediastream/testing/internals_media_stream.idl

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

[
    ImplementedAs=InternalsMediaStream
] partial interface Internals {
  [CallWith=ScriptState] Promise<undefined> addFakeDevice(
      MediaDeviceInfo deviceInfo,
      MediaTrackConstraints capabilities,
      MediaStreamTrack? dataSource);

  void fakeCaptureConfigurationChanged(MediaStreamTrack? track);
};