@videosdk.live/react-sdk 0.1.89 → 0.1.91
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 +15 -3
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ var events = {
|
|
|
38
38
|
'livestream-state-changed': eventPrifix + "-livestream-state-changed",
|
|
39
39
|
'meeting-state-changed': eventPrifix + "-meeting-state-changed",
|
|
40
40
|
'participant-mode-changed': eventPrifix + "-participant-mode-changed",
|
|
41
|
-
'transcription-state-changed': eventPrifix + "-
|
|
41
|
+
'transcription-state-changed': eventPrifix + "-transcription-state-changed",
|
|
42
42
|
'transcription-text': eventPrifix + "-transcription-text"
|
|
43
43
|
};
|
|
44
44
|
var eventEmitter = new EventEmitter();
|
|
@@ -302,7 +302,7 @@ var MeetingConsumer = function MeetingConsumer(_ref2) {
|
|
|
302
302
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(MeetingProviderContex.Consumer, null, children));
|
|
303
303
|
};
|
|
304
304
|
|
|
305
|
-
var version = "0.1.
|
|
305
|
+
var version = "0.1.91";
|
|
306
306
|
|
|
307
307
|
var MeetingProvider = function MeetingProvider(_ref) {
|
|
308
308
|
var children = _ref.children,
|
|
@@ -434,6 +434,7 @@ var MeetingProvider = function MeetingProvider(_ref) {
|
|
|
434
434
|
setRecordingState('RECORDING_STOPPED');
|
|
435
435
|
setLivestreamState('LIVESTREAM_STOPPED');
|
|
436
436
|
setHlsState('HLS_STOPPED');
|
|
437
|
+
setTranscriptionState('TRANSCRIPTION_STOPPED');
|
|
437
438
|
setHlsUrls({
|
|
438
439
|
downstreamUrl: null,
|
|
439
440
|
playbackHlsUrl: null,
|
|
@@ -578,6 +579,7 @@ var MeetingProvider = function MeetingProvider(_ref) {
|
|
|
578
579
|
meeting.off('livestream-state-changed', _handle_livestream_state_changed);
|
|
579
580
|
meeting.off('hls-state-changed', _handle_hls_state_changed);
|
|
580
581
|
meeting.off('participant-mode-changed', _handel_participant_mode_changed);
|
|
582
|
+
meeting.off('transcription-state-changed', _handle_transcription_state_changed);
|
|
581
583
|
}
|
|
582
584
|
if (typeof (meeting === null || meeting === void 0 ? void 0 : (_meeting$localPartici = meeting.localParticipant) === null || _meeting$localPartici === void 0 ? void 0 : _meeting$localPartici.off) === 'function') {
|
|
583
585
|
meeting.localParticipant.off('stream-enabled', _handle_localParticipant_stream_enabled);
|