Partilhar via


CommonCallingHandlers interface

Objeto que contém todos os processadores necessários para chamar componentes.

Chamar componentes relacionados deste pacote é capaz de escolher processadores relevantes deste objeto. Veja <xref:useHandlers> e utilizePropsFor.

Propriedades

onCreateLocalStreamView
onCreateRemoteStreamView
onDisposeLocalStreamView
onDisposeRemoteStreamView
onHangUp
onSelectCamera
onSelectMicrophone
onSelectSpeaker
onStartCall
onStartLocalVideo
onStartScreenShare
onStopScreenShare
onToggleCamera
onToggleMicrophone
onToggleScreenShare

Métodos

onRemoveParticipant(string)

Detalhes de Propriedade

onCreateLocalStreamView

onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

Valor de Propriedade

(options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

onCreateRemoteStreamView

onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

Valor de Propriedade

(userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>

onDisposeLocalStreamView

onDisposeLocalStreamView: () => Promise<void>

Valor de Propriedade

() => Promise<void>

onDisposeRemoteStreamView

onDisposeRemoteStreamView: (userId: string) => Promise<void>

Valor de Propriedade

(userId: string) => Promise<void>

onHangUp

onHangUp: (forEveryone?: boolean) => Promise<void>

Valor de Propriedade

(forEveryone?: boolean) => Promise<void>

onSelectCamera

onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>

Valor de Propriedade

(device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>

onSelectMicrophone

onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>

Valor de Propriedade

(device: AudioDeviceInfo) => Promise<void>

onSelectSpeaker

onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>

Valor de Propriedade

(device: AudioDeviceInfo) => Promise<void>

onStartCall

onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void

Valor de Propriedade

(participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void

onStartLocalVideo

onStartLocalVideo: () => Promise<void>

Valor de Propriedade

() => Promise<void>

onStartScreenShare

onStartScreenShare: () => Promise<void>

Valor de Propriedade

() => Promise<void>

onStopScreenShare

onStopScreenShare: () => Promise<void>

Valor de Propriedade

() => Promise<void>

onToggleCamera

onToggleCamera: (options?: VideoStreamOptions) => Promise<void>

Valor de Propriedade

(options?: VideoStreamOptions) => Promise<void>

onToggleMicrophone

onToggleMicrophone: () => Promise<void>

Valor de Propriedade

() => Promise<void>

onToggleScreenShare

onToggleScreenShare: () => Promise<void>

Valor de Propriedade

() => Promise<void>

Detalhes de Método

onRemoveParticipant(string)

function onRemoveParticipant(userId: string): Promise<void>

Parâmetros

userId

string

Devoluções

Promise<void>