OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // https://w3c.github.io/webrtc-pc/#rtctrackevent |
| 6 [ |
| 7 RuntimeEnabled=RTCRtpSender, |
| 8 Constructor(DOMString type, RTCTrackEventInit eventInitDict) |
| 9 ] interface RTCTrackEvent : Event { |
| 10 readonly attribute RTCRtpReceiver receiver; |
| 11 readonly attribute MediaStreamTrack track; |
| 12 [SameObject] |
| 13 readonly attribute FrozenArray<MediaStream> streams; |
| 14 // TODO(hbos): When RTCRtpTransceiver is supported, add: |
| 15 // readonly attribute RTCRtpTransceiver transceiver; |
| 16 }; |
OLD | NEW |