remove await import simple-peer

This commit is contained in:
Lukas Hass 2022-02-01 18:41:54 +01:00
parent 5f6be1fb8c
commit 5890e9c5cb
No known key found for this signature in database
GPG Key ID: 7C8CEF72C4039178
2 changed files with 0 additions and 6 deletions

View File

@ -1,4 +1,3 @@
import type * as SimplePeerNamespace from "simple-peer";
import type { RoomConnection } from "../Connexion/RoomConnection";
import { MESSAGE_TYPE_CONSTRAINT, PeerStatus } from "./VideoPeer";
import type { UserSimplePeerInterface } from "./SimplePeer";
@ -8,8 +7,6 @@ import { highlightedEmbedScreen } from "../Stores/EmbedScreensStore";
import { isMediaBreakpointUp } from "../Utils/BreakpointsUtils";
import Peer from "simple-peer";
// const { default: Peer } = await import("simple-peer");
/**
* A peer connection used to transmit video / audio signals between 2 peers.
*/

View File

@ -1,4 +1,3 @@
import type * as SimplePeerNamespace from "simple-peer";
import { mediaManager } from "./MediaManager";
import type { RoomConnection } from "../Connexion/RoomConnection";
import { blackListManager } from "./BlackListManager";
@ -12,8 +11,6 @@ import { getIceServersConfig } from "../Components/Video/utils";
import { isMediaBreakpointUp } from "../Utils/BreakpointsUtils";
import Peer from "simple-peer";
// const { default: Peer } = await import("simple-peer");
export type PeerStatus = "connecting" | "connected" | "error" | "closed";
export const MESSAGE_TYPE_CONSTRAINT = "constraint";