openvidu-components: Fixed typo on testing app

pull/780/head
Carlos Santos 2023-02-17 17:23:13 +01:00
parent 9d392c82cb
commit 54b7f82881
1 changed files with 7 additions and 4 deletions

View File

@ -142,9 +142,9 @@ $(document).ready(() => {
// await stopRecording(RECORDING_ID); // await stopRecording(RECORDING_ID);
// }); // });
webComponent.addEventListener('onActivitiesPanelDeleteRecordingClicked', (event) => webComponent.addEventListener('onActivitiesPanelDeleteRecordingClicked', (event) => {
appendElement('onActivitiesPanelDeleteRecordingClicked'); appendElement('onActivitiesPanelDeleteRecordingClicked');
); });
webComponent.addEventListener('onActivitiesPanelStartBroadcastingClicked', async (event) => { webComponent.addEventListener('onActivitiesPanelStartBroadcastingClicked', async (event) => {
appendElement('onActivitiesPanelStartBroadcastingClicked'); appendElement('onActivitiesPanelStartBroadcastingClicked');
@ -205,7 +205,10 @@ async function joinSession(sessionName, participantName) {
webComponent.lang = LANG; webComponent.lang = LANG;
webComponent.captionsLang = CAPTIONS_LANG; webComponent.captionsLang = CAPTIONS_LANG;
if (CUSTOM_CAPTIONS_LANG_OPTIONS) { if (CUSTOM_CAPTIONS_LANG_OPTIONS) {
webComponent.captionsLangOptions = [{ name: 'Esp', lang: 'es-ES' }, { name: 'Eng', lang: 'en-US' }]; webComponent.captionsLangOptions = [
{ name: 'Esp', lang: 'es-ES' },
{ name: 'Eng', lang: 'en-US' }
];
} }
webComponent.prejoin = PREJOIN; webComponent.prejoin = PREJOIN;
webComponent.videoMuted = VIDEO_MUTED; webComponent.videoMuted = VIDEO_MUTED;
@ -233,7 +236,7 @@ async function joinSession(sessionName, participantName) {
webComponent.activitiesPanelBroadcastingActivity = ACTIVITIES_STREAMING_ACTIVITY; webComponent.activitiesPanelBroadcastingActivity = ACTIVITIES_STREAMING_ACTIVITY;
webComponent.recordingActivityRecordingError = RECORDING_ERROR; webComponent.recordingActivityRecordingError = RECORDING_ERROR;
webComponent.broadcastingActivityBroadcastingError = {message: STREAMING_ERROR, broadcastAvailable: true}; webComponent.broadcastingActivityBroadcastingError = { message: STREAMING_ERROR, broadcastAvailable: true };
webComponent.participantName = participantName; webComponent.participantName = participantName;
webComponent.tokens = tokens; webComponent.tokens = tokens;