Go back up


useAVToggleResult

Properties

isLocalAudioEnabled

• isLocalAudioEnabled: boolean

true if unmuted and vice versa


isLocalVideoEnabled

• isLocalVideoEnabled: boolean


toggleAudio

• Optional toggleAudio: () => void

Type declaration

â–¸ (): void

use this function to toggle audio state, the function will only be present if the user has permission to unmute audio

Returns

void


toggleVideo

• Optional toggleVideo: () => void

Type declaration

â–¸ (): void

use this function to toggle video state, the function will only be present if the user has permission to unmute video

Returns

void


Have a suggestion? Recommend changes ->