@videosdk.live/react-sdk
Advanced tools
Comparing version 0.1.48 to 0.1.49
@@ -285,3 +285,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var version = "0.1.48"; | ||
var version = "0.1.49"; | ||
@@ -1310,4 +1310,4 @@ var MeetingProvider = function MeetingProvider(_ref) { | ||
screenShareAudioStream: screenShareAudioStream, | ||
webcamOn: webcamOn, | ||
micOn: micOn, | ||
webcamOn: webcamOn || !!webcamStream, | ||
micOn: micOn || !!micStream, | ||
screenShareOn: !!screenShareStream, | ||
@@ -1314,0 +1314,0 @@ isLocal: (localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.id) === participantId, |
@@ -282,3 +282,3 @@ import React, { createContext, useEffect, useContext, useState, useRef, useMemo } from 'react'; | ||
var version = "0.1.48"; | ||
var version = "0.1.49"; | ||
@@ -1307,4 +1307,4 @@ var MeetingProvider = function MeetingProvider(_ref) { | ||
screenShareAudioStream: screenShareAudioStream, | ||
webcamOn: webcamOn, | ||
micOn: micOn, | ||
webcamOn: webcamOn || !!webcamStream, | ||
micOn: micOn || !!micStream, | ||
screenShareOn: !!screenShareStream, | ||
@@ -1311,0 +1311,0 @@ isLocal: (localParticipant === null || localParticipant === void 0 ? void 0 : localParticipant.id) === participantId, |
@@ -7,39 +7,3 @@ import MeetingProvider from "./meeting/MeetingProvider"; | ||
import useConnection from "./connection/useConnection"; | ||
export const Constants: { | ||
errors: { | ||
INVALID_TOKEN: number; | ||
INVALID_API_KEY: number; | ||
INVALID_PERMISSIONS: number; | ||
INVALID_MEETING_ID: number; | ||
INVALID_PARTICIPANT_ID: number; | ||
DUPLICATE_PARTICIPANT: number; | ||
ACCOUNT_DEACTIVATED: number; | ||
ACCOUNT_DISCONTINUED: number; | ||
START_RECORDING_FAILED: number; | ||
STOP_RECORDING_FAILED: number; | ||
START_LIVESTREAM_FAILED: number; | ||
STOP_LIVESTREAM_FAILED: number; | ||
INVALID_LIVESTREAM_CONFIG: number; | ||
START_HLS_FAILED: number; | ||
STOP_HLS_FAILED: number; | ||
RECORDING_FAILED: number; | ||
LIVESTREAM_FAILED: number; | ||
HLS_FAILED: number; | ||
ERROR_GET_VIDEO_MEDIA: number; | ||
ERROR_GET_AUDIO_MEDIA: number; | ||
ERROR_GET_DISPLAY_MEDIA: number; | ||
}; | ||
recordingEvents: { | ||
RECORDING_STARTING: string; | ||
RECORDING_STARTED: string; | ||
RECORDING_STOPPING: string; | ||
RECORDING_STOPPED: string; | ||
}; | ||
livestreamEvents: { | ||
LIVESTREAM_STARTING: string; | ||
LIVESTREAM_STARTED: string; | ||
LIVESTREAM_STOPPING: string; | ||
LIVESTREAM_STOPPED: string; | ||
}; | ||
}; | ||
export const Constants: any; | ||
/** | ||
@@ -62,3 +26,3 @@ * @param {{ | ||
optimizationMode?: "text" | "motion" | "detail" | undefined; | ||
}): Promise<MediaStream>; | ||
}): Promise<any>; | ||
/** | ||
@@ -86,3 +50,3 @@ * @param {{ | ||
microphoneId?: string | undefined; | ||
}): Promise<MediaStream>; | ||
}): Promise<any>; | ||
/** | ||
@@ -100,4 +64,4 @@ * @param {{ | ||
withAudio?: "enable" | "disable"; | ||
}): Promise<MediaStream>; | ||
}): Promise<any>; | ||
export { MeetingProvider, useMeeting, useParticipant, usePubSub, MeetingConsumer, useConnection }; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@videosdk.live/react-sdk", | ||
"version": "0.1.48", | ||
"version": "0.1.49", | ||
"license": "ISC", | ||
@@ -74,5 +74,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@videosdk.live/js-sdk": "0.0.47", | ||
"@videosdk.live/js-sdk": "0.0.49", | ||
"events": "^3.3.0" | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
348320
3156
+ Added@videosdk.live/js-sdk@0.0.49(transitive)
- Removed@videosdk.live/js-sdk@0.0.47(transitive)
Updated@videosdk.live/js-sdk@0.0.49