Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@videosdk.live/react-sdk

Package Overview
Dependencies
Maintainers
2
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@videosdk.live/react-sdk - npm Package Compare versions

Comparing version 0.1.72 to 0.1.73

117

dist/types/index.d.ts

@@ -191,12 +191,22 @@ // Type definitions for @videosdk.live/react-sdk 0.1

children: any;
onParticipantJoined?: () => void;
onParticipantLeft?: () => void;
onSpeakerChanged?: () => void;
onPresenterChanged?: () => void;
onMainParticipantChanged?: () => void;
onEntryRequested?: () => void;
onEntryResponded?: () => void;
onParticipantJoined?: (participant: Participant) => void;
onParticipantLeft?: (participant: Participant) => void;
onSpeakerChanged?: (activeSpeakerId: string | null) => void;
onPresenterChanged?: (presenterId: string | null) => void;
onMainParticipantChanged?: (participant: Participant) => void;
onEntryRequested?: ({
participantId,
name,
allow,
deny,
}: {
participantId: string;
name: string;
allow: () => void;
deny: () => void;
}) => void;
onEntryResponded?: ({ participantId, decision }: { participantId: string; decision: string }) => void;
onRecordingStarted?: () => void;
onRecordingStopped?: () => void;
onChatMessage?: () => void;
onChatMessage?: (data: { message: string; senderId: string; timestamp: string; senderName: string }) => void;
onMeetingJoined?: () => void;

@@ -208,16 +218,68 @@ onMeetingLeft?: () => void;

onVideoSeeked?: () => void;
onWebcamRequested?: () => void;
onMicRequested?: () => void;
onPinStateChanged?: () => void;
onWebcamRequested?: ({
participantId,
accept,
reject,
}: {
participantId: string;
accept: () => void;
reject: () => void;
}) => void;
onMicRequested?: ({
participantId,
accept,
reject,
}: {
participantId: string;
accept: () => void;
reject: () => void;
}) => void;
onPinStateChanged?: ({
participantId,
state,
pinnedBy,
}: {
participantId: string;
state: { share: boolean; cam: boolean };
pinnedBy: string;
}) => void;
onConnectionOpen?: () => void;
onConnetionClose?: () => void;
onSwitchMeeting?: () => void;
onError?: () => void;
onHlsStarted?: () => void;
onError?: ({ code, message }: { code: string; message: string }) => void;
onHlsStarted?: ({ downstreamUrl }: { downstreamUrl: string }) => void;
onHlsStopped?: () => void;
onHlsStateChanged?: () => void;
onRecordingStateChanged?: () => void;
onLivestreamStateChanged?: () => void;
onMeetingStateChanged?: () => void;
onParticipantModeChanged?: () => void;
onHlsStateChanged?: ({
status,
downstreamUrl,
playbackHlsUrl,
livestreamUrl,
}: {
status: 'HLS_STARTING' | 'HLS_STARTED' | 'HLS_PLAYABLE' | 'HLS_STOPPING' | 'HLS_STOPPED';
downstreamUrl?: string;
playbackHlsUrl?: string;
livestreamUrl?: string;
}) => void;
onRecordingStateChanged?: ({
status,
}: {
status: 'RECORDING_STARTING' | 'RECORDING_STARTED' | 'RECORDING_STOPPING' | 'RECORDING_STOPPED';
}) => void;
onLivestreamStateChanged?:({
status
}: {
status: 'LIVESTREAM_STARTING' | 'LIVESTREAM_STARTED' | 'LIVESTREAM_STOPPING' | 'LIVESTREAM_STOPPED';
}) => void;
onMeetingStateChanged?: ({
state,
}: {
state: 'CONNECTING' | 'CONNECTED' | 'FAILED' | 'DISCONNECTED' | 'CLOSING' | 'CLOSED';
}) => void;
onParticipantModeChanged?: ({
participantId,
mode,
}: {
participantId: string;
mode: 'CONFERENCE' | 'VIEWER';
}) => void;
}): any;

@@ -559,6 +621,6 @@

}: {
status: 'HLS_STARTING' | 'HLS_STARTED' | 'HLS_PLAYABLE' | 'HLS_STOPPING' | 'HLS_STOPPING';
downstreamUrl: string;
playbackHlsUrl: string;
livestreamUrl: string;
status: 'HLS_STARTING' | 'HLS_STARTED' | 'HLS_PLAYABLE' | 'HLS_STOPPING' | 'HLS_STOPPED';
downstreamUrl?: string;
playbackHlsUrl?: string;
livestreamUrl?: string;
}) => void;

@@ -568,7 +630,9 @@ onRecordingStateChanged?: ({

}: {
status: 'RECORDING_STARTING' | 'RECORDING_STARTED' | 'RECORDING_STOPPING' | 'RECORDING_STOPPING';
status: 'RECORDING_STARTING' | 'RECORDING_STARTED' | 'RECORDING_STOPPING' | 'RECORDING_STOPPED';
}) => void;
onLivestreamStateChanged?: {
status: 'LIVESTREAM_STARTING' | 'LIVESTREAM_STARTED' | 'LIVESTREAM_STOPPING' | 'LIVESTREAM_STOPPING';
};
onLivestreamStateChanged?:({
status
}: {
status: 'LIVESTREAM_STARTING' | 'LIVESTREAM_STARTED' | 'LIVESTREAM_STOPPING' | 'LIVESTREAM_STOPPED';
}) => void;
onMeetingStateChanged?: ({

@@ -965,2 +1029,3 @@ state,

HLS_STARTED: string;
HLS_PLAYABLE: string;
HLS_STOPPING: string;

@@ -967,0 +1032,0 @@ HLS_STOPPED: string;

@@ -382,2 +382,3 @@ export class Meeting {

| 'participant-left'
| 'participant-mode-change'
| 'speaker-changed'

@@ -390,6 +391,9 @@ | 'presenter-changed'

| 'recording-stopped'
| 'recording-state-changed'
| 'livestream-started'
| 'livestream-stopped'
| 'livestream-state-changed'
| 'hls-started'
| 'hls-stopped'
| 'hls-state-changed'
| 'stream-enabled'

@@ -408,3 +412,6 @@ | 'stream-disabled'

| 'connection-close'
| 'switch-meeting',
| 'meeting-state-changed'
| 'switch-meeting'
| 'error'
| 'chat-message',
listener: (data: any) => void,

@@ -421,2 +428,3 @@ ): void;

| 'participant-left'
| 'participant-mode-change'
| 'speaker-changed'

@@ -429,6 +437,9 @@ | 'presenter-changed'

| 'recording-stopped'
| 'recording-state-changed'
| 'livestream-started'
| 'livestream-stopped'
| 'livestream-state-changed'
| 'hls-started'
| 'hls-stopped'
| 'hls-state-changed'
| 'stream-enabled'

@@ -447,3 +458,6 @@ | 'stream-disabled'

| 'connection-close'
| 'switch-meeting',
| 'meeting-state-changed'
| 'switch-meeting'
| 'error'
| 'chat-message',
listener: (data: any) => void,

@@ -450,0 +464,0 @@ ): void;

{
"name": "@videosdk.live/react-sdk",
"version": "0.1.72",
"version": "0.1.73",
"license": "ISC",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc