@videosdk.live/react-sdk 0.1.89 → 0.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/types/index.d.ts +14 -2
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -36,7 +36,7 @@ var events = {
|
|
|
36
36
|
'livestream-state-changed': eventPrifix + "-livestream-state-changed",
|
|
37
37
|
'meeting-state-changed': eventPrifix + "-meeting-state-changed",
|
|
38
38
|
'participant-mode-changed': eventPrifix + "-participant-mode-changed",
|
|
39
|
-
'transcription-state-changed': eventPrifix + "-
|
|
39
|
+
'transcription-state-changed': eventPrifix + "-transcription-state-changed",
|
|
40
40
|
'transcription-text': eventPrifix + "-transcription-text"
|
|
41
41
|
};
|
|
42
42
|
var eventEmitter = new EventEmitter();
|
|
@@ -300,7 +300,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
|
|
|
300
300
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MeetingProviderContex.Consumer, null, children));
|
|
301
301
|
};
|
|
302
302
|
|
|
303
|
-
var version = "0.1.
|
|
303
|
+
var version = "0.1.90";
|
|
304
304
|
|
|
305
305
|
var MeetingProvider = function MeetingProvider(_ref) {
|
|
306
306
|
var children = _ref.children,
|
|
@@ -432,6 +432,7 @@ var MeetingProvider = function MeetingProvider(_ref) {
|
|
|
432
432
|
setRecordingState('RECORDING_STOPPED');
|
|
433
433
|
setLivestreamState('LIVESTREAM_STOPPED');
|
|
434
434
|
setHlsState('HLS_STOPPED');
|
|
435
|
+
setTranscriptionState('TRANSCRIPTION_STOPPED');
|
|
435
436
|
setHlsUrls({
|
|
436
437
|
downstreamUrl: null,
|
|
437
438
|
playbackHlsUrl: null,
|
|
@@ -576,6 +577,7 @@ var MeetingProvider = function MeetingProvider(_ref) {
|
|
|
576
577
|
meeting.off('livestream-state-changed', _handle_livestream_state_changed);
|
|
577
578
|
meeting.off('hls-state-changed', _handle_hls_state_changed);
|
|
578
579
|
meeting.off('participant-mode-changed', _handel_participant_mode_changed);
|
|
580
|
+
meeting.off('transcription-state-changed', _handle_transcription_state_changed);
|
|
579
581
|
}
|
|
580
582
|
if (typeof (meeting === null || meeting === void 0 ? void 0 : (_meeting$localPartici = meeting.localParticipant) === null || _meeting$localPartici === void 0 ? void 0 : _meeting$localPartici.off) === 'function') {
|
|
581
583
|
meeting.localParticipant.off('stream-enabled', _handle_localParticipant_stream_enabled);
|