Skip to content

Commit

Permalink
add esm
Browse files Browse the repository at this point in the history
  • Loading branch information
CagriKarahan committed Mar 17, 2022
1 parent af42b94 commit 54bed2e
Show file tree
Hide file tree
Showing 6 changed files with 114 additions and 0 deletions.
3 changes: 3 additions & 0 deletions types/auto/JitsiConference.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,9 @@ declare class JitsiConference {
* @param {string} reason reason of the participant to kick
*/
kickParticipant(id: string, reason: string): void;
sendMicrophoneBroadcastPermissionIQ(value: any): void;
sendCameraBroadcastPermissionIQ(value: any): void;
sendRaiseHandBroadcastPermissionIQ(value: any): void;
private _maybeClearSITimeout;
_sessionInitiateTimeout: any;
private _maybeSetSITimeout;
Expand Down
45 changes: 45 additions & 0 deletions types/auto/JitsiConferenceEvents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,30 @@ export declare enum JitsiConferenceEvents {
* A user has changed it display name
*/
DISPLAY_NAME_CHANGED = "conference.displayNameChanged",
/**
* Videoaccess has been changed for participant.
*/
VIDEOACCESS_CHANGED_FOR_PARTICIPANT = "conference.videoAccessChangedForParticipant",
/**
* Videoaccess has been changed for all participants.
*/
VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "conference.videoAccessChangedForAllParticipants",
/**
* Raise hande access has been changed for all participants.
*/
RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "conference.raiseHandAccessChangedForAllParticipants",
/**
* Microphone access has been changed for participant.
*/
MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT = "conference.microphoneAccessChangedForParticipant",
/**
* Microphone access has been changed for all participants.
*/
MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "conference.microphoneAccessChangedForAllParticipants",
/**
* Screen share access has been changed for participant.
*/
SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT = "conference.screenShareAccessChangedForParticipant",
/**
* The dominant speaker was changed.
*/
Expand Down Expand Up @@ -141,6 +165,18 @@ export declare enum JitsiConferenceEvents {
* Indicates that the room has been locked or unlocked.
*/
LOCK_STATE_CHANGED = "conference.lock_state_changed",
/**
* Indicates that the room is private, participant is host and password is retrieved.
*/
SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM = "conference.sec_value_changed_for_special_room",
/**
* Indicates that the room is private or not, and participant is host or not.
*/
ROOM_VISIBILITY_CHANGED = "conference.room_visibility_changed",
/**
* Indicates that all features are changed.
*/
ROOM_ALL_FEATURES_CHANGED = "conference.room_all_features_changed",
/**
* Indicates that the region of the media server (jitsi-videobridge) that we
* are connected to changed (or was initially set).
Expand Down Expand Up @@ -408,6 +444,12 @@ export declare const CONNECTION_INTERRUPTED = JitsiConferenceEvents.CONNECTION_I
export declare const CONNECTION_RESTORED = JitsiConferenceEvents.CONNECTION_RESTORED;
export declare const DATA_CHANNEL_OPENED = JitsiConferenceEvents.DATA_CHANNEL_OPENED;
export declare const DISPLAY_NAME_CHANGED = JitsiConferenceEvents.DISPLAY_NAME_CHANGED;
export declare const VIDEOACCESS_CHANGED_FOR_PARTICIPANT = JitsiConferenceEvents.VIDEOACCESS_CHANGED_FOR_PARTICIPANT;
export declare const VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = JitsiConferenceEvents.VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS;
export declare const RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = JitsiConferenceEvents.RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS;
export declare const MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT = JitsiConferenceEvents.MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT;
export declare const MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = JitsiConferenceEvents.MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS;
export declare const SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT = JitsiConferenceEvents.SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT;
export declare const DOMINANT_SPEAKER_CHANGED = JitsiConferenceEvents.DOMINANT_SPEAKER_CHANGED;
export declare const CONFERENCE_CREATED_TIMESTAMP = JitsiConferenceEvents.CONFERENCE_CREATED_TIMESTAMP;
export declare const DTMF_SUPPORT_CHANGED = JitsiConferenceEvents.DTMF_SUPPORT_CHANGED;
Expand All @@ -419,6 +461,9 @@ export declare const PARTICIPANT_KICKED = JitsiConferenceEvents.PARTICIPANT_KICK
export declare const LAST_N_ENDPOINTS_CHANGED = JitsiConferenceEvents.LAST_N_ENDPOINTS_CHANGED;
export declare const FORWARDED_SOURCES_CHANGED = JitsiConferenceEvents.FORWARDED_SOURCES_CHANGED;
export declare const LOCK_STATE_CHANGED = JitsiConferenceEvents.LOCK_STATE_CHANGED;
export declare const SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM = JitsiConferenceEvents.SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM;
export declare const ROOM_VISIBILITY_CHANGED = JitsiConferenceEvents.ROOM_VISIBILITY_CHANGED;
export declare const ROOM_ALL_FEATURES_CHANGED = JitsiConferenceEvents.ROOM_ALL_FEATURES_CHANGED;
export declare const SERVER_REGION_CHANGED = JitsiConferenceEvents.SERVER_REGION_CHANGED;
export declare const _MEDIA_SESSION_STARTED = JitsiConferenceEvents._MEDIA_SESSION_STARTED;
export declare const _MEDIA_SESSION_ACTIVE_CHANGED = JitsiConferenceEvents._MEDIA_SESSION_ACTIVE_CHANGED;
Expand Down
14 changes: 14 additions & 0 deletions types/auto/modules/recording/JibriSession.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ export default class JibriSession {
* @returns {string}
*/
getMode(): string;
/**
* Returns the package type for current jibri user.
*
* @returns {string}
*/
getPackageType(): string;
/**
* Sets the last known error message related to the session.
*
* @param {string} packageType - Package type which is individual or corporate.
* @returns {void}
*/
setPackageType(packageType: string): void;
_packageType: string;
/**
* Sets the last known error message related to the session.
*
Expand Down
2 changes: 2 additions & 0 deletions types/auto/modules/recording/recordingConstants.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ declare namespace _default {
namespace error {
const BUSY: string;
const ERROR: string;
const NOT_ALLOWED: string;
const POLICY_VIOLATION: string;
const RESOURCE_CONSTRAINT: string;
const UNEXPECTED_REQUEST: string;
const SERVICE_UNAVAILABLE: string;
Expand Down
23 changes: 23 additions & 0 deletions types/auto/modules/xmpp/ChatRoom.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export default class ChatRoom extends Listenable {
connectionTimes: {};
participantPropertyListener: any;
locked: boolean;
everybodyHasMicAccess: string;
everybodyHasCameraAccess: string;
everybodyCanRaiseHand: string;
transcriptionStatus: JitsiTranscriptionStatus.JitsiTranscriptionStatus;
/**
*
Expand Down Expand Up @@ -195,6 +198,26 @@ export default class ChatRoom extends Listenable {
* @param reason
*/
kick(jid: any, reason?: string): void;
/**
* Value for broadcast audio permission
* @param iqValue
*/
sendMicrophoneBroadcastPermissionIQ(iqValue: any): void;
/**
* Value for broadcast audio permission
* @param iqValue
*/
sendCameraBroadcastPermissionIQ(iqValue: any): void;
/**
* Value for broadcast raising hand permission
* @param iqValue
*/
sendRaiseHandBroadcastPermissionIQ(iqValue: any): void;
/**
* Value for broadcast audio permission
* @param iqValue
*/
sendBroadcastPermissionIQ(key: any, iqValue: any): void;
/**
*
* @param key
Expand Down
27 changes: 27 additions & 0 deletions types/auto/service/xmpp/XMPPEvents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,30 @@ export declare enum XMPPEvents {
*/
CONNECTION_STATUS_CHANGED = "xmpp.connection.status.changed",
DISPLAY_NAME_CHANGED = "xmpp.display_name_changed",
/**
* Videoaccess prop has been changed for participant.
*/
VIDEOACCESS_CHANGED_FOR_PARTICIPANT = "xmpp.videoaccess_changed_for_participant",
/**
* Videoaccess prop has been changed for participant.
*/
VIDEO_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "xmpp.videoaccess_changed_for_all_participants",
/**
* Videoaccess prop has been changed for participant.
*/
RAISE_HAND_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "xmpp.raisehand_access_changed_for_all_participants",
/**
* Microphone prop has been changed for participant.
*/
MICROPHONE_ACCESS_CHANGED_FOR_PARTICIPANT = "xmpp.microphone_access_changed_for_participant",
/**
* Microphone prop has been changed for all participants.
*/
MICROPHONE_ACCESS_CHANGED_FOR_ALL_PARTICIPANTS = "xmpp.microphone_access_changed_for_all_participants",
/**
* Screen share prop has been changed for participant.
*/
SCREEN_SHARING_ACCESS_CHANGED_FOR_PARTICIPANT = "xmpp.screen_sharing_access_changed_for_participant",
/**
* Chat room instance have been added to Strophe.emuc plugin.
*/
Expand Down Expand Up @@ -83,6 +107,9 @@ export declare enum XMPPEvents {
MUC_LEFT = "xmpp.muc_left",
MUC_ROLE_CHANGED = "xmpp.muc_role_changed",
MUC_LOCK_CHANGED = "xmpp.muc_lock_changed",
MUC_SEC_VALUE_CHANGED_FOR_SPECIAL_ROOM = "xmpp.muc_sec_value",
MUC_ROOM_VISIBILITY_CHANGED = "xmpp.muc_room_visibility_changed",
MUC_ROOM_ALL_FEATURES_CHANGED = "xmpp.muc_room_all_features_changed",
MUC_MEMBERS_ONLY_CHANGED = "xmpp.muc_members_only_changed",
PARTICIPANT_AUDIO_MUTED = "xmpp.audio_muted",
PARTICIPANT_VIDEO_MUTED = "xmpp.video_muted",
Expand Down

0 comments on commit 54bed2e

Please sign in to comment.