@huddle01/web-core
Advanced tools
Comparing version 1.0.0-alpha.6 to 1.0.0-alpha.7
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { Consumer as mediasoupConsumer } from "mediasoup-client/lib/types"; | ||
@@ -3,0 +3,0 @@ export type ConsumerEvents = { |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { mainLogger } from "./logger"; | ||
@@ -3,0 +3,0 @@ const logger = mainLogger.createSubLogger("Consumer"); |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
export type IStreamPermissions = "granted" | "denied" | "prompt"; | ||
@@ -3,0 +3,0 @@ export type IStreamPermissionsError = { |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import defaultMediaConstraints from "./constants/deviceConstraints"; | ||
@@ -3,0 +3,0 @@ import { mainLogger } from "./logger"; |
import { AppData, Device, Producer } from "mediasoup-client/lib/types"; | ||
import type { TDataMessage } from "types/dist/common.types"; | ||
import type { ESocketCloseCode } from "types/dist/socket.types"; | ||
import DeviceHandler from "./DeviceHandler"; | ||
import Transport from "./Transport"; | ||
import { TDataMessage } from "types/dist/common.types"; | ||
import Consumer from "./Consumer"; | ||
import Socket from "./Socket"; | ||
import { ESocketCloseCode } from "types/dist/socket.types"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
export type LocalPeerEvents = { | ||
@@ -132,3 +132,5 @@ "stream-playabale": [data: { | ||
admin: boolean; | ||
canConsume: boolean; | ||
canConsume: boolean; /** | ||
* Turn Server used for this client | ||
*/ | ||
canProduce: boolean; | ||
@@ -135,0 +137,0 @@ canProduceSources: ("cam" | "mic" | "screen")[]; |
@@ -8,4 +8,4 @@ import { Device, detectDevice, } from "mediasoup-client/lib/types"; | ||
import Room from "./Room"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedMap } from "common-js/EnhancedMap"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { EnhancedMap } from "./common-js/EnhancedMap"; | ||
import Permissions, { checkPermissions } from "./Permissions"; | ||
@@ -12,0 +12,0 @@ const logger = mainLogger.createSubLogger("LocalPeer"); |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { TPermissions } from "types/dist/common.types"; | ||
@@ -3,0 +3,0 @@ type PermissionEvents = { |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { mainLogger } from "./logger"; | ||
@@ -3,0 +3,0 @@ const logger = mainLogger.createSubLogger("Permissions"); |
import Consumer from "./Consumer"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
type TRemotePeerEvents = { | ||
@@ -4,0 +4,0 @@ "stream-available": [ |
import LocalPeer from "./LocalPeer"; | ||
import Room from "./Room"; | ||
import { mainLogger } from "./logger"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
const logger = mainLogger.createSubLogger("RemotePeer"); | ||
@@ -6,0 +6,0 @@ class RemotePeer extends EnhancedEventEmitter { |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import RemotePeer from "./RemotePeer"; | ||
@@ -3,0 +3,0 @@ import { TNewPeerJoined } from "./types"; |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import Socket from "./Socket"; | ||
@@ -3,0 +3,0 @@ import { mainLogger } from "./logger"; |
import { ClientToSushiEvents } from "types/dist/clientToSushiEvents.types"; | ||
import { SushiToClientEvents } from "types/dist/sushiToClientEvents.types"; | ||
import { ESocketCloseCode } from "types/dist/socket.types"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { ConnectionState } from "./types"; | ||
@@ -6,0 +6,0 @@ export type ISocketEvents = { |
import { mainLogger } from "./logger"; | ||
import { ESocketCloseCode, SocketCloseReason } from "types/dist/socket.types"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { GeolocationSchema } from "./validators"; | ||
@@ -5,0 +5,0 @@ const logger = mainLogger.createSubLogger("Socket.ts"); |
import * as mediasoup from "mediasoup-client"; | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { TSDPInfo } from "types/dist/common.types"; | ||
@@ -9,3 +9,3 @@ import { TTransportType } from "types/dist"; | ||
import { TConsumeResponseData } from "types/dist/mq/response.types"; | ||
import { EnhancedMap } from "common-js/EnhancedMap"; | ||
import { EnhancedMap } from "./common-js/EnhancedMap"; | ||
export type TransportEvents = { | ||
@@ -12,0 +12,0 @@ connectTransportResponse: []; |
@@ -1,2 +0,2 @@ | ||
import { EnhancedEventEmitter } from "common-js/EnhancedEventEmitter"; | ||
import { EnhancedEventEmitter } from "./common-js/EnhancedEventEmitter"; | ||
import { mainLogger } from "./logger"; | ||
@@ -7,3 +7,3 @@ import Socket from "./Socket"; | ||
import { codecOptionsViaKind, encodingViaMediaType, } from "./constants/rtpConstants"; | ||
import { EnhancedMap } from "common-js/EnhancedMap"; | ||
import { EnhancedMap } from "./common-js/EnhancedMap"; | ||
const logger = mainLogger.createSubLogger("Transport"); | ||
@@ -10,0 +10,0 @@ class Transport extends EnhancedEventEmitter { |
{ | ||
"name": "@huddle01/web-core", | ||
"version": "1.0.0-alpha.6", | ||
"description": "", | ||
"version": "1.0.0-alpha.7", | ||
"description": "Alpha version of the Huddle01 Web Core, handles all the client side logic to interact with Huddle01 Media Infrastructure", | ||
"type": "module", | ||
@@ -37,3 +37,2 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"common-js": "workspace:*", | ||
"mediasoup-client": "^3.6.98", | ||
@@ -40,0 +39,0 @@ "tslog": "^4.9.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
229800
3
71
5601
- Removedcommon-js@workspace:*