@videosdk.live/react-sdk
Advanced tools
Comparing version 0.1.38 to 0.1.39
@@ -276,3 +276,3 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } | ||
var version = "0.1.38"; | ||
var version = "0.1.39"; | ||
@@ -351,2 +351,10 @@ var MeetingProvider = function MeetingProvider(_ref) { | ||
var _useState17 = React.useState(null), | ||
recordingState = _useState17[0], | ||
setRecordingState = _useState17[1]; | ||
var _useState18 = React.useState(null), | ||
livestreamState = _useState18[0], | ||
setLivestreamState = _useState18[1]; | ||
var meetingRef = React.useRef(); | ||
@@ -406,2 +414,4 @@ var localMicOnRef = React.useRef(); | ||
setIsHls(false); | ||
setRecordingState(null); | ||
setLivestreamState(null); | ||
}; | ||
@@ -629,2 +639,3 @@ | ||
var _handle_recording_state_changed = function _handle_recording_state_changed(data) { | ||
setRecordingState(data === null || data === void 0 ? void 0 : data.status); | ||
eventEmitter.emit(events['recording-state-changed'], data); | ||
@@ -634,2 +645,3 @@ }; | ||
var _handle_livestream_state_changed = function _handle_livestream_state_changed(data) { | ||
setLivestreamState(data === null || data === void 0 ? void 0 : data.status); | ||
eventEmitter.emit(events['livestream-state-changed'], data); | ||
@@ -1023,2 +1035,5 @@ }; | ||
isHls: isHls, | ||
recordingState: recordingState, | ||
livestreamState: livestreamState, | ||
isMeetingJoined: isMeetingJoined, | ||
join: join, | ||
@@ -1052,3 +1067,2 @@ leave: leave, | ||
connectTo: connectTo, | ||
isMeetingJoined: isMeetingJoined, | ||
startHls: startHls, | ||
@@ -1055,0 +1069,0 @@ stopHls: stopHls |
@@ -273,3 +273,3 @@ import React, { createContext, useEffect, useContext, useState, useRef, useMemo } from 'react'; | ||
var version = "0.1.38"; | ||
var version = "0.1.39"; | ||
@@ -348,2 +348,10 @@ var MeetingProvider = function MeetingProvider(_ref) { | ||
var _useState17 = useState(null), | ||
recordingState = _useState17[0], | ||
setRecordingState = _useState17[1]; | ||
var _useState18 = useState(null), | ||
livestreamState = _useState18[0], | ||
setLivestreamState = _useState18[1]; | ||
var meetingRef = useRef(); | ||
@@ -403,2 +411,4 @@ var localMicOnRef = useRef(); | ||
setIsHls(false); | ||
setRecordingState(null); | ||
setLivestreamState(null); | ||
}; | ||
@@ -626,2 +636,3 @@ | ||
var _handle_recording_state_changed = function _handle_recording_state_changed(data) { | ||
setRecordingState(data === null || data === void 0 ? void 0 : data.status); | ||
eventEmitter.emit(events['recording-state-changed'], data); | ||
@@ -631,2 +642,3 @@ }; | ||
var _handle_livestream_state_changed = function _handle_livestream_state_changed(data) { | ||
setLivestreamState(data === null || data === void 0 ? void 0 : data.status); | ||
eventEmitter.emit(events['livestream-state-changed'], data); | ||
@@ -1020,2 +1032,5 @@ }; | ||
isHls: isHls, | ||
recordingState: recordingState, | ||
livestreamState: livestreamState, | ||
isMeetingJoined: isMeetingJoined, | ||
join: join, | ||
@@ -1049,3 +1064,2 @@ leave: leave, | ||
connectTo: connectTo, | ||
isMeetingJoined: isMeetingJoined, | ||
startHls: startHls, | ||
@@ -1052,0 +1066,0 @@ stopHls: stopHls |
{ | ||
"name": "@videosdk.live/react-sdk", | ||
"version": "0.1.38", | ||
"version": "0.1.39", | ||
"license": "ISC", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
288841
2519