Partager via


CallState interface

État uniquement version de <xref:%40azure%2Fcommunication-calling%23Call>. statefulCallClient récupère automatiquement l’état de l’appel et l’ajoute à l’état exposé par StatefulCallClient.

Propriétés

callEndReason

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.callEndReason>.

callerInfo

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.callerInfo>.

diagnostics

Stocke les derniers diagnostics d’appel.

direction

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.direction>.

dominantSpeakers

Proxy de <xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>.

endTime

Stocke la date locale à laquelle l’appel s’est terminé sur le client. Cette propriété est ajoutée par la couche avec état et n’est pas un proxy d’état du SDK.

id

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.id>.

isMuted

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.isMuted>.

isScreenSharingOn

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>.

localVideoStreams

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>.

recording

Proxy de <xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>.

remoteParticipants

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>. Objet avec VideoGalleryRemoteParticipant champs clés par aplatissement identificateur. Pour obtenir un identificateur de aplatissement, utilisez <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>.

remoteParticipantsEnded

Stocke les participants distants qui ont quitté l’appel afin que le callEndReason puisse être récupéré. Objet avec VideoGalleryRemoteParticipant champs clés par aplatissement identificateur. Pour obtenir un identificateur de aplatissement, utilisez <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>.

screenShareRemoteParticipant

Stocke la clé du participant de partage d’écran actif. S’il n’y a pas de partage d’écran actif, cela ne sera pas défini. Vous pouvez utiliser cette clé pour accéder aux données remoteParticipant dans remoteParticipants objet.

Notez que cela s’applique uniquement à ScreenShare dans RemoteParticipant. Un partage d’écran local actif n’affecte pas cette propriété.

Cette propriété est ajoutée par la couche avec état et n’est pas un proxy d’état du Kit de développement logiciel (SDK)

startTime

Stocke la date locale à laquelle l’appel a démarré sur le client. Cette propriété est ajoutée par la couche avec état et n’est pas un proxy d’état du SDK.

state

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.state>.

transcription

Proxy de <xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>.

Détails de la propriété

callEndReason

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.callEndReason>.

callEndReason?: CallEndReason

Valeur de propriété

callerInfo

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.callerInfo>.

callerInfo: CallerInfo

Valeur de propriété

diagnostics

Stocke les derniers diagnostics d’appel.

diagnostics: DiagnosticsCallFeatureState

Valeur de propriété

direction

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.direction>.

direction: CallDirection

Valeur de propriété

dominantSpeakers

Proxy de <xref:%40azure%2Fcommunication-calling%23DominantSpeakersInfo>.

dominantSpeakers?: DominantSpeakersInfo

Valeur de propriété

endTime

Stocke la date locale à laquelle l’appel s’est terminé sur le client. Cette propriété est ajoutée par la couche avec état et n’est pas un proxy d’état du SDK.

endTime: undefined | Date

Valeur de propriété

undefined | Date

id

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.id>.

id: string

Valeur de propriété

string

isMuted

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.isMuted>.

isMuted: boolean

Valeur de propriété

boolean

isScreenSharingOn

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.isScreenSharingOn>.

isScreenSharingOn: boolean

Valeur de propriété

boolean

localVideoStreams

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.localVideoStreams>.

localVideoStreams: LocalVideoStreamState[]

Valeur de propriété

recording

Proxy de <xref:%40azure%2Fcommunication-calling%23RecordingCallFeature>.

recording: RecordingCallFeature

Valeur de propriété

remoteParticipants

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.remoteParticipants>. Objet avec VideoGalleryRemoteParticipant champs clés par aplatissement identificateur. Pour obtenir un identificateur de aplatissement, utilisez <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>.

remoteParticipants: {[keys: string]: RemoteParticipantState}

Valeur de propriété

{[keys: string]: RemoteParticipantState}

remoteParticipantsEnded

Stocke les participants distants qui ont quitté l’appel afin que le callEndReason puisse être récupéré. Objet avec VideoGalleryRemoteParticipant champs clés par aplatissement identificateur. Pour obtenir un identificateur de aplatissement, utilisez <xref:%40azure%2Fcommunication-react%23toFlatCommunicationIdentifier>.

remoteParticipantsEnded: {[keys: string]: RemoteParticipantState}

Valeur de propriété

{[keys: string]: RemoteParticipantState}

screenShareRemoteParticipant

Stocke la clé du participant de partage d’écran actif. S’il n’y a pas de partage d’écran actif, cela ne sera pas défini. Vous pouvez utiliser cette clé pour accéder aux données remoteParticipant dans remoteParticipants objet.

Notez que cela s’applique uniquement à ScreenShare dans RemoteParticipant. Un partage d’écran local actif n’affecte pas cette propriété.

Cette propriété est ajoutée par la couche avec état et n’est pas un proxy d’état du Kit de développement logiciel (SDK)

screenShareRemoteParticipant?: string

Valeur de propriété

string

startTime

Stocke la date locale à laquelle l’appel a démarré sur le client. Cette propriété est ajoutée par la couche avec état et n’est pas un proxy d’état du SDK.

startTime: Date

Valeur de propriété

Date

state

Proxy de <xref:%40azure%2Fcommunication-calling%23Call.state>.

state: CallState

Valeur de propriété

transcription

Proxy de <xref:%40azure%2Fcommunication-calling%23TranscriptionCallFeature>.

transcription: TranscriptionCallFeature

Valeur de propriété