fix(misc) fix typos
Found via `codespell -q 3 -S ./lang -L miliseconds`
This commit is contained in:
parent
29669d88dc
commit
c7f96de787
|
@ -3070,7 +3070,7 @@ export default {
|
|||
/**
|
||||
* Leaves the room.
|
||||
*
|
||||
* @param {boolean} doDisconnect - Wether leaving the room should also terminate the connection.
|
||||
* @param {boolean} doDisconnect - Whether leaving the room should also terminate the connection.
|
||||
* @returns {Promise}
|
||||
*/
|
||||
async leaveRoom(doDisconnect = true) {
|
||||
|
|
|
@ -613,7 +613,7 @@ var config = {
|
|||
// },
|
||||
|
||||
// When 'true', the user cannot edit the display name.
|
||||
// (Mainly useful when used in conjuction with the JWT so the JWT name becomes read only.)
|
||||
// (Mainly useful when used in conjunction with the JWT so the JWT name becomes read only.)
|
||||
// readOnlyName: false,
|
||||
|
||||
// If etherpad integration is enabled, setting this to true will
|
||||
|
@ -1028,7 +1028,7 @@ var config = {
|
|||
// maxConferenceSize: 200,
|
||||
//
|
||||
// // The maximum number of e2e ping messages per second for the whole conference to aim for.
|
||||
// // This is used to contol the pacing of messages in order to reduce the load on the backend.
|
||||
// // This is used to control the pacing of messages in order to reduce the load on the backend.
|
||||
// maxMessagesPerSecond: 250
|
||||
// },
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ ol.poll-result-list {
|
|||
margin-bottom: 4;
|
||||
}
|
||||
|
||||
// Needeed to override atlaskit default blue color
|
||||
// Needed to override atlaskit default blue color
|
||||
.poll-create-container .jsYMHu {
|
||||
background: #292929;
|
||||
border-color: #808090;
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* Remove unnecssary padding that is normally used to prevent horizontal
|
||||
* Remove unnecessary padding that is normally used to prevent horizontal
|
||||
* filmstrip from overlapping the left edge of the screen.
|
||||
*/
|
||||
#filmstripLocalVideo,
|
||||
|
|
|
@ -474,11 +474,11 @@ function initCommands() {
|
|||
* @param { string } arg.mode - Recording mode, either `file` or `stream`.
|
||||
* @param { string } arg.dropboxToken - Dropbox oauth2 token.
|
||||
* @param { string } arg.rtmpStreamKey - The RTMP stream key.
|
||||
* @param { string } arg.rtmpBroadcastID - The RTMP braodcast ID.
|
||||
* @param { string } arg.rtmpBroadcastID - The RTMP broadcast ID.
|
||||
* @param { boolean } arg.shouldShare - Whether the recording should be shared with the participants or not.
|
||||
* Only applies to certain jitsi meet deploys.
|
||||
* @param { string } arg.youtubeStreamKey - The youtube stream key.
|
||||
* @param { string } arg.youtubeBroadcastID - The youtube broacast ID.
|
||||
* @param { string } arg.youtubeBroadcastID - The youtube broadcast ID.
|
||||
* @returns {void}
|
||||
*/
|
||||
'start-recording': ({
|
||||
|
@ -1642,7 +1642,7 @@ class API {
|
|||
}
|
||||
|
||||
/**
|
||||
* Notify external application (if API is enabled) that an error occured.
|
||||
* Notify external application (if API is enabled) that an error occurred.
|
||||
*
|
||||
* @param {Object} error - The error.
|
||||
* @returns {void}
|
||||
|
@ -1670,7 +1670,7 @@ class API {
|
|||
}
|
||||
|
||||
/**
|
||||
* Notify external application (if API is enabled) wether the used browser is supported or not.
|
||||
* Notify external application (if API is enabled) whether the used browser is supported or not.
|
||||
*
|
||||
* @param {boolean} supported - If browser is supported or not.
|
||||
* @returns {void}
|
||||
|
@ -1698,7 +1698,7 @@ class API {
|
|||
/**
|
||||
* Notify the external application that the state of the participants pane changed.
|
||||
*
|
||||
* @param {boolean} open - Wether the panel is open or not.
|
||||
* @param {boolean} open - Whether the panel is open or not.
|
||||
* @returns {void}
|
||||
*/
|
||||
notifyParticipantsPaneToggled(open) {
|
||||
|
|
|
@ -1000,7 +1000,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
}
|
||||
|
||||
/**
|
||||
* Returns wether meeting is started silent.
|
||||
* Returns whether meeting is started silent.
|
||||
*
|
||||
* @returns {Promise} - Resolves with start silent status.
|
||||
*/
|
||||
|
@ -1242,9 +1242,9 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
* @param { boolean } options.shouldShare - Whether the recording should be shared with the participants or not.
|
||||
* Only applies to certain jitsi meet deploys.
|
||||
* @param { string } options.rtmpStreamKey - The RTMP stream key.
|
||||
* @param { string } options.rtmpBroadcastID - The RTMP broacast ID.
|
||||
* @param { string } options.rtmpBroadcastID - The RTMP broadcast ID.
|
||||
* @param { string } options.youtubeStreamKey - The youtube stream key.
|
||||
* @param { string } options.youtubeBroadcastID - The youtube broacast ID.
|
||||
* @param { string } options.youtubeBroadcastID - The youtube broadcast ID.
|
||||
* @returns {void}
|
||||
*/
|
||||
startRecording(options) {
|
||||
|
|
|
@ -690,7 +690,7 @@ export function createStartSilentEvent() {
|
|||
/**
|
||||
* Creates an event which indicates that HTMLAudioElement.play has failed.
|
||||
*
|
||||
* @param {sting} elementID - The ID of the HTMLAudioElement.
|
||||
* @param {string} elementID - The ID of the HTMLAudioElement.
|
||||
* @returns {Object} The event in a format suitable for sending via sendAnalytics.
|
||||
*/
|
||||
export function createAudioPlayErrorEvent(elementID) {
|
||||
|
@ -703,9 +703,9 @@ export function createAudioPlayErrorEvent(elementID) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Creates an event which indicates that HTMLAudioElement.play has succeded after a prior failure.
|
||||
* Creates an event which indicates that HTMLAudioElement.play has succeeded after a prior failure.
|
||||
*
|
||||
* @param {sting} elementID - The ID of the HTMLAudioElement.
|
||||
* @param {string} elementID - The ID of the HTMLAudioElement.
|
||||
* @returns {Object} The event in a format suitable for sending via sendAnalytics.
|
||||
*/
|
||||
export function createAudioPlaySuccessEvent(elementID) {
|
||||
|
|
|
@ -107,7 +107,7 @@ export const isParticipantPending = (participant: Object, mediaType: MediaType)
|
|||
|
||||
/**
|
||||
* Selector which returns a list with all the participants asking to audio unmute.
|
||||
* This is visible ony for the moderator.
|
||||
* This is visible only for the moderator.
|
||||
*
|
||||
* @param {Object} state - The global state.
|
||||
* @returns {Array<Object>}
|
||||
|
|
|
@ -21,7 +21,7 @@ const splitter = new GraphemeSplitter();
|
|||
* Generates the background color of an initials based avatar.
|
||||
*
|
||||
* @param {string?} initials - The initials of the avatar.
|
||||
* @param {Array<strig>} customAvatarBackgrounds - Custom avatar background values.
|
||||
* @param {Array<string>} customAvatarBackgrounds - Custom avatar background values.
|
||||
* @returns {string}
|
||||
*/
|
||||
export function getAvatarColor(initials: ?string, customAvatarBackgrounds: Array<string>) {
|
||||
|
|
|
@ -13,7 +13,7 @@ import { ADD_KNOWN_DOMAINS } from './actionTypes';
|
|||
* read the information out of the app's manifests: App Store strips the
|
||||
* associated domains manifest out of the app so it's never downloaded on the
|
||||
* client and we did not spend a lot of effort to read the associated domains
|
||||
* out of the Andorid manifest.
|
||||
* out of the Android manifest.
|
||||
*/
|
||||
export const DEFAULT_STATE = [
|
||||
'alpha.jitsi.net',
|
||||
|
|
|
@ -24,7 +24,7 @@ export function getLastNForQualityLevel(qualityLevel, channelLastN) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks if the given Object is a correct last N limit mapping, coverts both keys and values to numbers and sorts
|
||||
* Checks if the given Object is a correct last N limit mapping, converts both keys and values to numbers and sorts
|
||||
* the keys in ascending order.
|
||||
*
|
||||
* @param {Object} lastNLimits - The Object to be verified.
|
||||
|
|
|
@ -637,7 +637,7 @@ class VideoTransform extends Component<Props, State> {
|
|||
|
||||
/**
|
||||
* Function to decide whether the responder should respond to a start
|
||||
* (thouch) event.
|
||||
* (touch) event.
|
||||
*
|
||||
* @private
|
||||
* @returns {boolean}
|
||||
|
|
|
@ -116,7 +116,7 @@ export function isVideoMutedByUser(stateful: Function | Object) {
|
|||
* @param {boolean} waitForVideoStarted - True if the specified videoTrack
|
||||
* should be rendered only after its associated video has started;
|
||||
* otherwise, false.
|
||||
* @returns {boolean} True if the specified videoTrack should be renderd;
|
||||
* @returns {boolean} True if the specified videoTrack should be rendered;
|
||||
* otherwise, false.
|
||||
*/
|
||||
export function shouldRenderVideoTrack(
|
||||
|
|
|
@ -9,7 +9,7 @@ import { isIconUrl } from './functions';
|
|||
* @param {string | Object} src - Source of the avatar.
|
||||
* @param {boolean} useCORS - Whether to use CORS or not.
|
||||
* @param {boolean} tryOnce - If true we try to load the image only using the specified CORS mode. Otherwise both modes
|
||||
* (CORS and no CORS) will be used to load the image if the first atempt fails.
|
||||
* (CORS and no CORS) will be used to load the image if the first attempt fails.
|
||||
* @returns {Promise}
|
||||
*/
|
||||
export function preloadImage(
|
||||
|
|
|
@ -445,7 +445,7 @@ function _getDisplayName(state: Object, name: string): string {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loops trough the participants in the state in order to check if all participants are moderators.
|
||||
* Loops through the participants in the state in order to check if all participants are moderators.
|
||||
*
|
||||
* @param {Object} state - The local participant redux state.
|
||||
* @returns {boolean}
|
||||
|
|
|
@ -302,7 +302,7 @@ export function showNoDataFromSourceVideoError(jitsiTrack) {
|
|||
*
|
||||
* @param {boolean} enabled - The state to toggle screen sharing to.
|
||||
* @param {boolean} audioOnly - Only share system audio.
|
||||
* @param {boolean} ignoreDidHaveVideo - Wether or not to ignore if video was on when sharing started.
|
||||
* @param {boolean} ignoreDidHaveVideo - Whether or not to ignore if video was on when sharing started.
|
||||
* @returns {{
|
||||
* type: TOGGLE_SCREENSHARING,
|
||||
* on: boolean,
|
||||
|
@ -758,7 +758,7 @@ function _trackCreateCanceled(mediaType) {
|
|||
}
|
||||
|
||||
/**
|
||||
* If thee local track if of type Desktop, it calls _disposeAndRemoveTracks) on it.
|
||||
* If the local track if of type Desktop, it calls _disposeAndRemoveTracks) on it.
|
||||
*
|
||||
* @returns {Function}
|
||||
*/
|
||||
|
|
|
@ -19,7 +19,7 @@ export type Props = {
|
|||
_onRemovePrivateMessageRecipient: Function,
|
||||
|
||||
/**
|
||||
* Function to make the lobby message receipient inactive.
|
||||
* Function to make the lobby message recipient inactive.
|
||||
*/
|
||||
_onHideLobbyChatRecipient: Function,
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ type Props = AbstractProps & {
|
|||
_connectionIndicatorInactiveDisabled: boolean,
|
||||
|
||||
/**
|
||||
* Wether the indicator popover is disabled.
|
||||
* Whether the indicator popover is disabled.
|
||||
*/
|
||||
_popoverDisabled: boolean,
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ export function isTrackStreamingStatusInterrupted(videoTrack) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks if the passed participant's connecton status is active.
|
||||
* Checks if the passed participant's connection status is active.
|
||||
*
|
||||
* @param {Object} participant - Participant reference.
|
||||
* @returns {boolean} - Is connection status active.
|
||||
|
@ -49,7 +49,7 @@ export function isParticipantConnectionStatusActive(participant) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks if the passed participant's connecton status is inactive.
|
||||
* Checks if the passed participant's connection status is inactive.
|
||||
*
|
||||
* @param {Object} participant - Participant reference.
|
||||
* @returns {boolean} - Is connection status inactive.
|
||||
|
@ -61,7 +61,7 @@ export function isParticipantConnectionStatusInactive(participant) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Checks if the passed participant's connecton status is interrupted.
|
||||
* Checks if the passed participant's connection status is interrupted.
|
||||
*
|
||||
* @param {Object} participant - Participant reference.
|
||||
* @returns {boolean} - Is connection status interrupted.
|
||||
|
|
|
@ -44,7 +44,7 @@ export function getDeviceSelectionDialogProps(stateful: Object | Function, isDis
|
|||
const userSelectedCamera = getUserSelectedCameraDeviceId(state);
|
||||
const userSelectedMic = getUserSelectedMicDeviceId(state);
|
||||
|
||||
// When the previews are disabled we don't need multiple audio input support in order to chage the mic. This is the
|
||||
// When the previews are disabled we don't need multiple audio input support in order to change the mic. This is the
|
||||
// case for Safari on iOS.
|
||||
let disableAudioInputChange
|
||||
= !JitsiMeetJS.mediaDevices.isMultipleAudioInputSupported() && !(disablePreviews && inputDeviceChangeSupported);
|
||||
|
|
|
@ -22,7 +22,7 @@ type Props = {
|
|||
_render: boolean;
|
||||
|
||||
/**
|
||||
* Whether ot not the name is in a container.
|
||||
* Whether or not the name is in a container.
|
||||
*/
|
||||
contained?: boolean;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ export async function _authorizeDropbox(): Promise<Object> {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets a new acccess token based on the refresh token.
|
||||
* Gets a new access token based on the refresh token.
|
||||
*
|
||||
* @returns {Promise}
|
||||
*/
|
||||
|
|
|
@ -71,7 +71,7 @@ export function _authorizeDropbox(
|
|||
|
||||
|
||||
/**
|
||||
* Gets a new acccess token based on the refresh token.
|
||||
* Gets a new access token based on the refresh token.
|
||||
*
|
||||
* @param {string} appKey - The dropbox appKey.
|
||||
* @param {string} rToken - The refresh token.
|
||||
|
|
|
@ -13,7 +13,7 @@ import { _mapStateToProps, type Props } from './AbstractE2EELabel';
|
|||
|
||||
|
||||
/**
|
||||
* React {@code Component} for displaying a label when everyone has E2EE enabled in a conferene.
|
||||
* React {@code Component} for displaying a label when everyone has E2EE enabled in a conference.
|
||||
*
|
||||
* @augments Component
|
||||
*/
|
||||
|
|
|
@ -361,7 +361,7 @@ export function clickOnVideo(n: number) {
|
|||
/**
|
||||
* Sets the volume for a thumbnail's audio.
|
||||
*
|
||||
* @param {string} participantId - The participant ID asociated with the audio.
|
||||
* @param {string} participantId - The participant ID associated with the audio.
|
||||
* @param {string} volume - The volume level.
|
||||
* @returns {{
|
||||
* type: SET_VOLUME,
|
||||
|
|
|
@ -90,7 +90,7 @@ type Props = {
|
|||
* The ID of the participant obtain from the participant object in Redux.
|
||||
*
|
||||
* NOTE: Generally it should be the same as the participantID prop except the case where the passed
|
||||
* participantID doesn't corespond to any of the existing participants.
|
||||
* participantID doesn't correspond to any of the existing participants.
|
||||
*/
|
||||
_participantId: string,
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ function _mapStateToProps(state) {
|
|||
// One way to solve the problem would be to pass only the participant ID to the AudioTrack component and
|
||||
// find the corresponding track inside the AudioTrack's mapStateToProps. But currently this will be very
|
||||
// inefficient because features/base/tracks is an array and in order to find a track by participant ID
|
||||
// we need to go trough the array. Introducing a map participantID -> track could be beneficial in this case.
|
||||
// we need to go through the array. Introducing a map participantID -> track could be beneficial in this case.
|
||||
return {
|
||||
_tracks: state['features/base/tracks']
|
||||
};
|
||||
|
|
|
@ -64,7 +64,7 @@ type Props = {
|
|||
rowIndex?: number,
|
||||
|
||||
/**
|
||||
* The styles comming from react-window.
|
||||
* The styles coming from react-window.
|
||||
*/
|
||||
style: Object
|
||||
};
|
||||
|
|
|
@ -52,7 +52,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Include fake participants to derive how many thumbnails are dispalyed,
|
||||
// Include fake participants to derive how many thumbnails are displayed,
|
||||
// as it is assumed all participants, including fake, will be displayed
|
||||
// in the filmstrip.
|
||||
const participantCount = getParticipantCountWithFake(state);
|
||||
|
|
|
@ -82,7 +82,7 @@ export function shouldRemoteVideosBeVisible(state: Object) {
|
|||
return false;
|
||||
}
|
||||
|
||||
// Include fake participants to derive how many thumbnails are dispalyed,
|
||||
// Include fake participants to derive how many thumbnails are displayed,
|
||||
// as it is assumed all participants, including fake, will be displayed
|
||||
// in the filmstrip.
|
||||
const participantCount = getParticipantCountWithFake(state);
|
||||
|
@ -358,7 +358,7 @@ export function calculateResponsiveTileViewDimensions({
|
|||
&& oldNumberOfVisibleParticipants >= numberOfParticipants)
|
||||
|| (oldNumberOfVisibleParticipants < numberOfParticipants
|
||||
&& numberOfVisibleParticipants <= desiredNumberOfVisibleTiles))
|
||||
) { // If the area of the new candidates and the old ones are equal we preffer the one that will have
|
||||
) { // If the area of the new candidates and the old ones are equal we prefer the one that will have
|
||||
// closer number of visible participants to desiredNumberOfVisibleTiles config.
|
||||
dimensions = currentDimensions;
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
if (action.type === PARTICIPANT_LEFT) {
|
||||
// This have to be executed before we remove the participant from features/base/participants state in order to
|
||||
// remove the related thumbnail component before we need to re-render it. If we do this after next()
|
||||
// we will be in sitation where the participant exists in the remoteParticipants array in features/filmstrip
|
||||
// we will be in situation where the participant exists in the remoteParticipants array in features/filmstrip
|
||||
// but doesn't exist in features/base/participants state which will lead to rendering a thumbnail for
|
||||
// non-existing participant.
|
||||
updateRemoteParticipantsOnLeave(store, action.participant?.id);
|
||||
|
|
|
@ -67,7 +67,7 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
if (action.type === PARTICIPANT_LEFT) {
|
||||
// This has to be executed before we remove the participant from features/base/participants state in order to
|
||||
// remove the related thumbnail component before we need to re-render it. If we do this after next()
|
||||
// we will be in sitation where the participant exists in the remoteParticipants array in features/filmstrip
|
||||
// we will be in situation where the participant exists in the remoteParticipants array in features/filmstrip
|
||||
// but doesn't exist in features/base/participants state which will lead to rendering a thumbnail for
|
||||
// non-existing participant.
|
||||
updateRemoteParticipantsOnLeave(store, action.participant?.id);
|
||||
|
|
|
@ -87,7 +87,7 @@ type Props = {
|
|||
* The participant ID.
|
||||
*
|
||||
* NOTE: This ID may be different from participantID prop in the case when we pass undefined for the local
|
||||
* participant. In this case the local participant ID will be filled trough _participantID prop.
|
||||
* participant. In this case the local participant ID will be filled through _participantID prop.
|
||||
*/
|
||||
_participantID: string,
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@ ReducerRegistry.register('features/polls', (state = INITIAL_STATE, action) => {
|
|||
polls: {
|
||||
...state.polls,
|
||||
|
||||
// The poll is added to the dictionnary of received polls
|
||||
// The poll is added to the dictionary of received polls
|
||||
[action.pollId]: action.poll
|
||||
},
|
||||
nbUnreadPolls: state.nbUnreadPolls + 1
|
||||
|
|
|
@ -130,7 +130,7 @@ export function getSessionStatusToShow(state: Object, mode: string): ?string {
|
|||
/**
|
||||
* Check if local recording is supported.
|
||||
*
|
||||
* @returns {boolean} - Wether local recording is supported or not.
|
||||
* @returns {boolean} - Whether local recording is supported or not.
|
||||
*/
|
||||
export function supportsLocalRecording() {
|
||||
return browser.isChromiumBased() && !browser.isElectron() && !isMobileBrowser()
|
||||
|
|
|
@ -9,7 +9,7 @@ import { keyboardEventToKey } from './keycodes';
|
|||
import logger from './logger';
|
||||
|
||||
/**
|
||||
* Checks if the remote contrrol is enabled.
|
||||
* Checks if the remote control is enabled.
|
||||
*
|
||||
* @param {*} state - The redux state.
|
||||
* @returns {boolean} - True if the remote control is enabled and false otherwise.
|
||||
|
|
|
@ -109,7 +109,7 @@ class RTCStats {
|
|||
* Send the timestamp of the start of the conference, the data will be processed by the rtcstats-server
|
||||
* and saved in the dump file.
|
||||
*
|
||||
* @param {Oject} timestamp - The object which contains the timestamp.
|
||||
* @param {Object} timestamp - The object which contains the timestamp.
|
||||
* @returns {void}
|
||||
*/
|
||||
sendConferenceTimestamp(timestamp) {
|
||||
|
|
|
@ -92,7 +92,7 @@ export function startAudioScreenShareFlow() {
|
|||
return;
|
||||
}
|
||||
|
||||
// We don't want to explicity set the screens share state, by passing undefined we let the
|
||||
// We don't want to explicitly set the screens share state, by passing undefined we let the
|
||||
// underlying logic decide if it's on or off.
|
||||
dispatch(toggleScreensharing(undefined, true));
|
||||
|
||||
|
@ -105,7 +105,7 @@ export function startAudioScreenShareFlow() {
|
|||
|
||||
/**
|
||||
* Start normal screen sharing flow.Function will switch between off and on states depending on the context, and if
|
||||
* not explicity told otherwise.
|
||||
* not explicitly told otherwise.
|
||||
*
|
||||
* @param {boolean} enabled - Explicitly set the screen sharing state.
|
||||
* @returns {void}
|
||||
|
|
|
@ -41,7 +41,7 @@ export type Props = {
|
|||
_conference: Object,
|
||||
|
||||
/**
|
||||
* Warning that indicates an incorect video url.
|
||||
* Warning that indicates an incorrect video url.
|
||||
*/
|
||||
_displayWarning: Function,
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ export const SET_OVERFLOW_DRAWER = 'SET_OVERFLOW_DRAWER';
|
|||
export const SET_OVERFLOW_MENU_VISIBLE = 'SET_OVERFLOW_MENU_VISIBLE';
|
||||
|
||||
/**
|
||||
* The type of the action which sets the indicator which determiens whether a
|
||||
* The type of the action which sets the indicator which determines whether a
|
||||
* fToolbar in the Toolbox is hovered.
|
||||
*
|
||||
* {
|
||||
|
|
|
@ -22,7 +22,7 @@ type Props = AbstractButtonProps & {
|
|||
};
|
||||
|
||||
/**
|
||||
* Implementation of a button for toggleing the overflow menu.
|
||||
* Implementation of a button for toggling the overflow menu.
|
||||
*/
|
||||
class OverflowToggleButton extends AbstractButton<Props, *> {
|
||||
accessibilityLabel = 'toolbar.accessibilityLabel.moreActions';
|
||||
|
|
|
@ -81,7 +81,7 @@ MiddlewareRegistry.register(store => next => action => {
|
|||
|
||||
// Update the remoteScreenShares.
|
||||
// Because of the debounce in the subscriber which updates the remoteScreenShares we need to handle
|
||||
// removal of screen shares separatelly here. Otherwise it is possible to have screen sharing
|
||||
// removal of screen shares separately here. Otherwise it is possible to have screen sharing
|
||||
// participant that has already left in the remoteScreenShares array. This can lead to rendering
|
||||
// a thumbnails for already left participants since the remoteScreenShares array is used for
|
||||
// building the ordered list of remote participants.
|
||||
|
|
|
@ -4,7 +4,7 @@ import { SHOW_CONNECTION_INFO } from '../base/connection/actionTypes';
|
|||
export * from './actions.any';
|
||||
|
||||
/**
|
||||
* Sets whether to render the connnection status info into the Popover of the thumbnail or the context menu buttons.
|
||||
* Sets whether to render the connection status info into the Popover of the thumbnail or the context menu buttons.
|
||||
*
|
||||
* @param {boolean} showConnectionInfo - Whether it should show the connection
|
||||
* info or the context menu buttons on thumbnail popover.
|
||||
|
|
|
@ -39,7 +39,7 @@ type Props = {
|
|||
}
|
||||
|
||||
const useStyles = makeStyles(theme => {
|
||||
// keep the same hight for all elements:
|
||||
// keep the same height for all elements:
|
||||
// input, input track & fake track(div)
|
||||
const height = 6;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ import logger from './logger';
|
|||
/**
|
||||
* Signals the local participant activate the virtual background video or not.
|
||||
*
|
||||
* @param {Object} options - Represents the virtual background setted options.
|
||||
* @param {Object} options - Represents the virtual background set options.
|
||||
* @param {Object} jitsiTrack - Represents the jitsi track that will have backgraund effect applied.
|
||||
* @returns {Promise}
|
||||
*/
|
||||
|
@ -38,7 +38,7 @@ export function toggleBackgroundEffect(options: Object, jitsiTrack: Object) {
|
|||
/**
|
||||
* Sets the selected virtual background image object.
|
||||
*
|
||||
* @param {Object} options - Represents the virtual background setted options.
|
||||
* @param {Object} options - Represents the virtual background set options.
|
||||
* @returns {{
|
||||
* type: SET_VIRTUAL_BACKGROUND,
|
||||
* virtualSource: string,
|
||||
|
|
|
@ -330,7 +330,7 @@ function VirtualBackground({
|
|||
blurValue: 25,
|
||||
selectedThumbnail: 'blur'
|
||||
});
|
||||
logger.info('"Blur" option setted for virtual background preview!');
|
||||
logger.info('"Blur" option set for virtual background preview!');
|
||||
|
||||
}, []);
|
||||
|
||||
|
@ -348,7 +348,7 @@ function VirtualBackground({
|
|||
blurValue: 8,
|
||||
selectedThumbnail: 'slight-blur'
|
||||
});
|
||||
logger.info('"Slight-blur" option setted for virtual background preview!');
|
||||
logger.info('"Slight-blur" option set for virtual background preview!');
|
||||
|
||||
}, []);
|
||||
|
||||
|
@ -413,7 +413,7 @@ function VirtualBackground({
|
|||
dispatch(openDialog(VirtualBackgroundDialog, { initialOptions: newOptions }));
|
||||
} else {
|
||||
setOptions(newOptions);
|
||||
logger.info('"Desktop-share" option setted for virtual background preview!');
|
||||
logger.info('"Desktop-share" option set for virtual background preview!');
|
||||
}
|
||||
}, [ dispatch, options ]);
|
||||
|
||||
|
@ -429,7 +429,7 @@ function VirtualBackground({
|
|||
enabled: false,
|
||||
selectedThumbnail: 'none'
|
||||
});
|
||||
logger.info('"None" option setted for virtual background preview!');
|
||||
logger.info('"None" option set for virtual background preview!');
|
||||
|
||||
}, []);
|
||||
|
||||
|
@ -451,7 +451,7 @@ function VirtualBackground({
|
|||
url: image.src,
|
||||
selectedThumbnail: image.id
|
||||
});
|
||||
logger.info('Uploaded image setted for virtual background preview!');
|
||||
logger.info('Uploaded image set for virtual background preview!');
|
||||
}
|
||||
}, [ storedImages ]);
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ export type Props = {
|
|||
loadedPreview: Function,
|
||||
|
||||
/**
|
||||
* Represents the virtual background setted options.
|
||||
* Represents the virtual background set options.
|
||||
*/
|
||||
options: Object,
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ function init_session(event)
|
|||
local params = formdecode(query);
|
||||
|
||||
-- The following fields are filled in the session, by extracting them
|
||||
-- from the query and no validation is beeing done.
|
||||
-- from the query and no validation is being done.
|
||||
-- After validating auth_token will be cleaned in case of error and few
|
||||
-- other fields will be extracted from the token and set in the session
|
||||
|
||||
|
|
|
@ -465,7 +465,7 @@ function process_breakout_rooms_muc_loaded(breakout_rooms_muc, host_module)
|
|||
local room = event.room;
|
||||
local main_room, main_room_jid = get_main_room(room.jid);
|
||||
|
||||
-- Breakout room matadata.
|
||||
-- Breakout room metadata.
|
||||
table.insert(event.form, {
|
||||
name = 'muc#roominfo_isbreakout';
|
||||
label = 'Is this a breakout room?';
|
||||
|
@ -492,7 +492,7 @@ function process_breakout_rooms_muc_loaded(breakout_rooms_muc, host_module)
|
|||
local room = event.room;
|
||||
local _, main_room_jid = get_main_room(room.jid);
|
||||
|
||||
-- Breakout room matadata.
|
||||
-- Breakout room metadata.
|
||||
table.insert(event.form, {
|
||||
name = 'muc#roominfo_isbreakout';
|
||||
label = 'Is this a breakout room?';
|
||||
|
|
|
@ -76,7 +76,7 @@ end
|
|||
--- Handles request for retrieving the room size
|
||||
-- @param event the http event, holds the request query
|
||||
-- @return GET response, containing a json with participants count,
|
||||
-- tha value is without counting the focus.
|
||||
-- the value is without counting the focus.
|
||||
function handle_get_room_size(event)
|
||||
if (not event.request.url.query) then
|
||||
return { status_code = 400; };
|
||||
|
|
|
@ -499,7 +499,7 @@ module:hook("pre-resource-unbind", function (event)
|
|||
and session.hibernating == hibernate_time then
|
||||
-- wait longer if the timeout isn't reached because push was enabled for this session
|
||||
-- session.first_hibernated_push is the starting point for hibernation timeouts of those push enabled clients
|
||||
-- wait for an additional resume_timeout seconds if no push occured since hibernation at all
|
||||
-- wait for an additional resume_timeout seconds if no push occurred since hibernation at all
|
||||
local current_time = os_time();
|
||||
local timeout_start = math_max(session.hibernating, session.first_hibernated_push or session.hibernating);
|
||||
if session.push_identifier ~= nil and not session.first_hibernated_push then
|
||||
|
|
|
@ -152,8 +152,8 @@ end
|
|||
-- State for toggling the tagging of presence stanzas with ignored tag.
|
||||
--
|
||||
-- A poltergeist with it's full room/nick set to ignore will have a jitsi ignore
|
||||
-- tag applied to all presence stanza's broadcasted. The following funcitons
|
||||
-- assisst in managing this state.
|
||||
-- tag applied to all presence stanza's broadcasted. The following functions
|
||||
-- assist in managing this state.
|
||||
--------------------------------------------------------------------------------
|
||||
local presence_ignored = {}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ Util.__index = Util
|
|||
--- Constructs util class for token verifications.
|
||||
-- Constructor that uses the passed module to extract all the
|
||||
-- needed configurations.
|
||||
-- If confuguration is missing returns nil
|
||||
-- If configuration is missing returns nil
|
||||
-- @param module the module in which options to check for configs.
|
||||
-- @return the new instance or nil
|
||||
function Util.new(module)
|
||||
|
@ -261,7 +261,7 @@ function Util:process_and_verify_token(session, acceptedIssuers)
|
|||
end
|
||||
end
|
||||
|
||||
--- Verifies room name and domain if necesarry.
|
||||
--- Verifies room name and domain if necessary.
|
||||
-- Checks configs and if necessary checks the room name extracted from
|
||||
-- room_address against the one saved in the session when token was verified.
|
||||
-- Also verifies domain name from token against the domain in the room_address,
|
||||
|
|
|
@ -22,7 +22,7 @@ local escaped_muc_domain_prefix = muc_domain_prefix:gsub("%p", "%%%1");
|
|||
-- (e.g. extract 'foo' from 'conference.foo.example.com')
|
||||
local target_subdomain_pattern = "^"..escaped_muc_domain_prefix..".([^%.]+)%."..escaped_muc_domain_base;
|
||||
|
||||
-- table to store all incoming iqs without roomname in it, like discoinfo to the muc compoent
|
||||
-- table to store all incoming iqs without roomname in it, like discoinfo to the muc component
|
||||
local roomless_iqs = {};
|
||||
|
||||
-- Utility function to split room JID to include room name and subdomain
|
||||
|
|
Loading…
Reference in New Issue