mediasfu-angular 2.1.5 → 2.1.6
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/fesm2022/mediasfu-angular.mjs +4 -2
- package/dist/fesm2022/mediasfu-angular.mjs.map +1 -1
- package/dist/lib/components/mediasfu-components/mediasfu-broadcast.component.d.ts +14 -14
- package/dist/lib/components/mediasfu-components/mediasfu-chat.component.d.ts +14 -14
- package/dist/lib/components/mediasfu-components/mediasfu-conference.component.d.ts +18 -18
- package/dist/lib/components/mediasfu-components/mediasfu-generic.component.d.ts +18 -18
- package/dist/lib/components/mediasfu-components/mediasfu-webinar.component.d.ts +18 -18
- package/dist/lib/consumers/stream-success-video.service.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5930,7 +5930,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
|
|
|
5930
5930
|
*/
|
|
5931
5931
|
const createLocalSendTransport = async ({ option, parameters, }) => {
|
|
5932
5932
|
try {
|
|
5933
|
-
console.log("Creating local send transport...");
|
|
5934
5933
|
let { islevel, member, socket, localSocket, device, localProducerTransport, localTransportCreated, updateLocalProducerTransport, updateLocalTransportCreated, connectSendTransport, } = parameters;
|
|
5935
5934
|
if (!localSocket || !localSocket.id || socket?.id == localSocket?.id) {
|
|
5936
5935
|
return;
|
|
@@ -10950,6 +10949,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.1", ngImpor
|
|
|
10950
10949
|
* @param {boolean} options.parameters.videoAlreadyOn - Indicates if the video is already on.
|
|
10951
10950
|
* @param {Function} options.parameters.showAlert - Function to show alert messages.
|
|
10952
10951
|
* @param {Function} options.parameters.updateParticipants - Function to update the participants list.
|
|
10952
|
+
* @param {Function} options.parameters.updateTransportCreated - Function to update the transport creation state.
|
|
10953
10953
|
* @param {Function} options.parameters.updateTransportCreatedVideo - Function to update the transport creation state.
|
|
10954
10954
|
* @param {Function} options.parameters.updateVideoAlreadyOn - Function to update the video status.
|
|
10955
10955
|
* @param {Function} options.parameters.updateVideoAction - Function to update the video action state.
|
|
@@ -10997,7 +10997,7 @@ class StreamSuccessVideo {
|
|
|
10997
10997
|
try {
|
|
10998
10998
|
let { socket, participants, localStream, transportCreated, transportCreatedVideo, videoAlreadyOn, videoAction, videoParams, localStreamVideo, defVideoID, userDefaultVideoInputDevice, params, videoParamse, islevel, member, updateMainWindow, lock_screen, shared, shareScreenStarted, vParams, hParams, allowed, currentFacingMode, device, keepBackground, appliedBackground, videoProducer,
|
|
10999
10999
|
// update functions
|
|
11000
|
-
updateTransportCreatedVideo, updateVideoAlreadyOn, updateVideoAction, updateLocalStream, updateLocalStreamVideo, updateUserDefaultVideoInputDevice, updateCurrentFacingMode, updateDefVideoID, updateAllowed, updateUpdateMainWindow, updateParticipants, updateVideoParams, updateIsBackgroundModalVisible, updateAutoClickBackground,
|
|
11000
|
+
updateTransportCreated, updateTransportCreatedVideo, updateVideoAlreadyOn, updateVideoAction, updateLocalStream, updateLocalStreamVideo, updateUserDefaultVideoInputDevice, updateCurrentFacingMode, updateDefVideoID, updateAllowed, updateUpdateMainWindow, updateParticipants, updateVideoParams, updateIsBackgroundModalVisible, updateAutoClickBackground,
|
|
11001
11001
|
// mediasfu functions
|
|
11002
11002
|
createSendTransport, connectSendTransportVideo, showAlert, reorderStreams, sleep, } = parameters;
|
|
11003
11003
|
localStreamVideo = stream;
|
|
@@ -11131,6 +11131,8 @@ class StreamSuccessVideo {
|
|
|
11131
11131
|
updateParticipants(participants);
|
|
11132
11132
|
// Update the transport created state
|
|
11133
11133
|
transportCreatedVideo = true;
|
|
11134
|
+
transportCreated = true;
|
|
11135
|
+
updateTransportCreated(transportCreated);
|
|
11134
11136
|
updateTransportCreatedVideo(transportCreatedVideo);
|
|
11135
11137
|
// Reupdate the screen display
|
|
11136
11138
|
if (lock_screen) {
|