@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
52 lines • 2.07 kB
TypeScript
import { CallCommon } from './BetaToStableTypes';
import { CallContext } from './CallContext';
import { InternalCallContext } from './InternalCallContext';
/**
* Keeps track of the listeners assigned to a particular call because when we get an event from SDK, it doesn't tell us
* which call it is for. If we keep track of this then we know which call in the state that needs an update and also
* which property of that call. Also we can use this when unregistering to a call.
*/
export declare class CallSubscriber {
private _call;
private _callIdRef;
private _context;
private _internalContext;
private _diagnosticsSubscriber;
private _participantSubscribers;
private _recordingSubscriber;
private _transcriptionSubscriber;
private _pptLiveSubscriber;
private _optimalVideoCountSubscriber;
private _CaptionsFeatureSubscriber?;
private _realTimeTextSubscriber?;
private _raiseHandSubscriber?;
private _reactionSubscriber?;
private _localVideoStreamVideoEffectsSubscribers;
private _capabilitiesSubscriber;
private _spotlightSubscriber;
private _breakoutRoomsSubscriber;
private _togetherModeSubscriber;
private _mediaAccessSubscriber;
constructor(call: CallCommon, context: CallContext, internalContext: InternalCallContext);
private _safeSubscribeInitCaptionSubscriber;
private _safeSubscribeInitTeamsMeetingConference;
private _safeSubscribeInitRealTimeText;
private subscribe;
unsubscribe: () => void;
private _safeSubscribe;
private addParticipantListener;
private removeParticipantListener;
private stateChanged;
private initCaptionSubscriber;
private initTeamsMeetingConference;
private initRealTimeText;
private idChanged;
private isScreenSharingOnChanged;
private isMuteChanged;
private callRoleChangedHandler;
private mutedByOthersHandler;
private remoteParticipantsUpdated;
private localVideoStreamsUpdated;
private dominantSpeakersChanged;
}
//# sourceMappingURL=CallSubscriber.d.ts.map