Socket
Socket
Sign inDemoInstall

@huddle01/web-core

Package Overview
Dependencies
16
Maintainers
8
Versions
214
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.15-dev.1 to 2.0.15-dev.2

dist/chunk-32D3YMKS.cjs

8

dist/ActiveSpeakers.js
import {
ActiveSpeakers_default
} from "./chunk-T6GNKE6C.js";
import "./chunk-2PRVCWTH.js";
import "./chunk-PWSKYHCW.js";
} from "./chunk-5RUTDMG7.js";
import "./chunk-SCNFZW32.js";
import "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";

@@ -10,0 +10,0 @@ import "./chunk-6AE5TMFG.js";

@@ -32,4 +32,10 @@ import * as mediasoup_client_lib_types from 'mediasoup-client/lib/types';

/**
* Flag to check if the Producer which is being consumed by the Consumer is paused.
* @remarks If the Producer is paused, the Consumer will not be able to consume the media.
* @default false
*/
private __producerPaused;
/**
* Flag to check if the Consumer is consuming a media, if `true` then the Consumer is consuming a media.
*
* Consuming Means the incoming media stream is being consumed by the Remote Peer if the Remote Peer is Producing any media.
* @default false

@@ -50,2 +56,8 @@ */

/**
* Flag to check if the Producer which is being consumed by the Consumer is paused.
* @remarks If the Producer is paused, the Consumer will not be able to consume the media.
* @default false
*/
get producerPaused(): boolean;
/**
* Getter for the id for the mediaSoupConsumer, which is also the id of the Consumer for the RemotePeer.

@@ -112,8 +124,11 @@ */

* Resume the consumer, if the state of the consumer is `paused`.
* @returns - Returns `true` if the consumer is resumed, `false` if the consumer is not paused.
*/
resume: () => void;
resume: () => boolean;
/**
* Pause the consumer, if the state of the consumer is `playable`.
*
* @returns - Returns `true` if the consumer is paused, `false` if the consumer is not paused.
*/
pause: () => void;
pause: () => boolean;
/**

@@ -130,2 +145,3 @@ * Removes all the eventListeners attached to the Consumer.

label: string;
producerPaused?: boolean;
}) => Consumer;

@@ -132,0 +148,0 @@ close: () => void;

import {
Consumer_default
} from "./chunk-GEZ7U5L5.js";
} from "./chunk-SXF7HWP7.js";
import "./chunk-TOCFOGTC.js";

@@ -5,0 +5,0 @@ import "./chunk-Z4LJQP2S.js";

import {
HuddleClient_default
} from "./chunk-2YSSZLYQ.js";
import "./chunk-LY5H5I7H.js";
import "./chunk-6HHQDHAX.js";
} from "./chunk-GHK3LH2G.js";
import "./chunk-D5T6U2FW.js";
import "./chunk-72QIUQYL.js";
import "./chunk-BDDFZSII.js";
import "./chunk-2SVDLGVU.js";
import "./chunk-T6GNKE6C.js";
import "./chunk-2PRVCWTH.js";
import "./chunk-PWSKYHCW.js";
import "./chunk-5RUTDMG7.js";
import "./chunk-SCNFZW32.js";
import "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";
import "./chunk-6AE5TMFG.js";
import "./chunk-I36JDPMH.js";
import "./chunk-GEZ7U5L5.js";
import "./chunk-SXF7HWP7.js";
import "./chunk-R4AH4FQZ.js";

@@ -19,0 +19,0 @@ import "./chunk-FIM2WZLS.js";

import {
HuddleClient_default
} from "./chunk-2YSSZLYQ.js";
} from "./chunk-GHK3LH2G.js";
import {
LocalPeer_default,
RemotePeer_default
} from "./chunk-LY5H5I7H.js";
} from "./chunk-D5T6U2FW.js";
import {
Transport_default
} from "./chunk-6HHQDHAX.js";
} from "./chunk-72QIUQYL.js";
import "./chunk-BDDFZSII.js";
import "./chunk-2SVDLGVU.js";
import "./chunk-T6GNKE6C.js";
import "./chunk-5RUTDMG7.js";
import {
Room_default
} from "./chunk-2PRVCWTH.js";
} from "./chunk-SCNFZW32.js";
import {
Socket_default
} from "./chunk-PWSKYHCW.js";
} from "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";

@@ -28,3 +28,3 @@ import "./chunk-6AE5TMFG.js";

Consumer_default
} from "./chunk-GEZ7U5L5.js";
} from "./chunk-SXF7HWP7.js";
import {

@@ -31,0 +31,0 @@ DeviceHandler_default

@@ -21,2 +21,6 @@ import { Producer, HandlerFactory, AppData } from 'mediasoup-client/lib/types';

type LocalPeerEvents = {
/**
* Stream Playable Event, Triggered when the stream is ready to be played -
* `Note: After the stream is fetched and track is not muted and enabled`
*/
'stream-playable': [data: {

@@ -48,6 +52,2 @@ label: string;

}];
'stream-resumed': [data: {
mediaKind: CustomMediaKind;
label: string;
}];
'receive-data': [data: TDataMessage];

@@ -387,8 +387,2 @@ 'receive-volatile-data': [data: TVolatileDataMessage];

*
* For Screen-Share
* await localPeer.replaceStream({
* label: 'screen-share-video',
* newStream: newStream
* })
*
* If any custom label used

@@ -395,0 +389,0 @@ * await localPeer.replaceStream({

import {
LocalPeer_default
} from "./chunk-LY5H5I7H.js";
import "./chunk-6HHQDHAX.js";
} from "./chunk-D5T6U2FW.js";
import "./chunk-72QIUQYL.js";
import "./chunk-BDDFZSII.js";
import "./chunk-2SVDLGVU.js";
import "./chunk-T6GNKE6C.js";
import "./chunk-2PRVCWTH.js";
import "./chunk-PWSKYHCW.js";
import "./chunk-5RUTDMG7.js";
import "./chunk-SCNFZW32.js";
import "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";
import "./chunk-6AE5TMFG.js";
import "./chunk-I36JDPMH.js";
import "./chunk-GEZ7U5L5.js";
import "./chunk-SXF7HWP7.js";
import "./chunk-R4AH4FQZ.js";

@@ -18,0 +18,0 @@ import "./chunk-FIM2WZLS.js";

@@ -38,9 +38,2 @@ import Consumer from './Consumer.js';

];
'stream-resumed': [
data: {
label: string;
producerId: string;
peerId: string;
}
];
'metadata-updated': [

@@ -99,3 +92,2 @@ data: {

producerId: string;
paused: boolean;
} | undefined;

@@ -152,6 +144,2 @@ /**

});
updatePausedState: (data: {
label: string;
paused: boolean;
}) => Promise<void>;
/**

@@ -168,3 +156,2 @@ * @protected

producerId: string;
paused: boolean;
}) => Promise<void>;

@@ -171,0 +158,0 @@ /**

import {
RemotePeer_default
} from "./chunk-LY5H5I7H.js";
import "./chunk-6HHQDHAX.js";
} from "./chunk-D5T6U2FW.js";
import "./chunk-72QIUQYL.js";
import "./chunk-BDDFZSII.js";
import "./chunk-2SVDLGVU.js";
import "./chunk-T6GNKE6C.js";
import "./chunk-2PRVCWTH.js";
import "./chunk-PWSKYHCW.js";
import "./chunk-5RUTDMG7.js";
import "./chunk-SCNFZW32.js";
import "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";
import "./chunk-6AE5TMFG.js";
import "./chunk-I36JDPMH.js";
import "./chunk-GEZ7U5L5.js";
import "./chunk-SXF7HWP7.js";
import "./chunk-R4AH4FQZ.js";

@@ -18,0 +18,0 @@ import "./chunk-FIM2WZLS.js";

import {
Room_default
} from "./chunk-2PRVCWTH.js";
import "./chunk-PWSKYHCW.js";
} from "./chunk-SCNFZW32.js";
import "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";

@@ -9,0 +9,0 @@ import "./chunk-6AE5TMFG.js";

import {
Socket_default
} from "./chunk-PWSKYHCW.js";
} from "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";

@@ -8,0 +8,0 @@ import "./chunk-6AE5TMFG.js";

@@ -224,3 +224,5 @@ import * as mediasoup from 'mediasoup-client';

*/
consume: (data: TConsumeResponseData) => Promise<{
consume: (data: TConsumeResponseData & {
producerPaused?: boolean;
}) => Promise<{
consumer: Consumer;

@@ -227,0 +229,0 @@ mediaSoupConsumer: mediasoup.types.Consumer<mediasoup.types.AppData>;

import {
Transport_default
} from "./chunk-6HHQDHAX.js";
} from "./chunk-72QIUQYL.js";
import "./chunk-BDDFZSII.js";
import "./chunk-2SVDLGVU.js";
import "./chunk-PWSKYHCW.js";
import "./chunk-A4XW3RCM.js";
import "./chunk-WA3QABYS.js";
import "./chunk-P6ECWQ7C.js";
import "./chunk-NTD5WULD.js";
import "./chunk-WA3QABYS.js";
import "./chunk-W2UZYUUG.js";
import "./chunk-6AE5TMFG.js";
import "./chunk-GEZ7U5L5.js";
import "./chunk-SXF7HWP7.js";
import "./chunk-Q4PETRM3.js";

@@ -14,0 +14,0 @@ import "./chunk-TOCFOGTC.js";

{
"name": "@huddle01/web-core",
"version": "2.0.15-dev.1",
"version": "2.0.15-dev.2",
"description": "The Huddle01 Javascript SDK offers a comprehensive suite of methods and event listeners that allow for seamless real-time audio and video communication with minimal coding required.",

@@ -5,0 +5,0 @@ "type": "module",

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc