From e41f1f87b8a8c2f56f8eb4899202399273a11be0 Mon Sep 17 00:00:00 2001 From: shinyoshiaki Date: Wed, 3 Jul 2024 13:24:59 +0900 Subject: [PATCH] export --- packages/webrtc/src/nonstandard/navigator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webrtc/src/nonstandard/navigator.ts b/packages/webrtc/src/nonstandard/navigator.ts index 2a9d80ed..5b5f1f6d 100644 --- a/packages/webrtc/src/nonstandard/navigator.ts +++ b/packages/webrtc/src/nonstandard/navigator.ts @@ -1,14 +1,14 @@ import { MediaStream, MediaStreamTrack } from "../media/track"; export class Navigator { - readonly mediaDevices: MediaDevices; + mediaDevices: MediaDevices; constructor(props: ConstructorParameters[0] = {}) { this.mediaDevices = new MediaDevices(props); } } -class MediaDevices extends EventTarget { +export class MediaDevices extends EventTarget { video?: MediaStreamTrack; audio?: MediaStreamTrack;