Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CallController

Hierarchy

  • CallController

Index

Methods

getAudioInputDevices

  • Method to get all the available audio input devices.

    Returns MediaDevice[]

getAudioOutputDevices

  • Method to get all the available audio output devices.

    Returns MediaDevice[]

getVideoInputDevices

  • Method to get all the available video input devices.

    Returns MediaDevice[]

muteAudio

  • muteAudio(muteAudio: boolean): void
  • Method to mute/unmute audio stream.

    Parameters

    • muteAudio: boolean

    Returns void

pauseVideo

  • pauseVideo(pauseVideo: boolean): void
  • Method to pause/unpause video stream.

    Parameters

    • pauseVideo: boolean

    Returns void

setAudioInputDevice

  • setAudioInputDevice(deviceId: string): void
  • Method to change the audio input devices.

    Parameters

    • deviceId: string

    Returns void

setAudioOutputDevice

  • setAudioOutputDevice(deviceId: string): void
  • Method to change the audio output devices.

    Parameters

    • deviceId: string

    Returns void

setMode

  • setMode(mode: any): void
  • Method to set mode.

    Parameters

    • mode: any

    Returns void

setVideoInputDevice

  • setVideoInputDevice(deviceId: string): void
  • Method to change the video input devices.

    Parameters

    • deviceId: string

    Returns void

startRecording

  • startRecording(): void
  • Method to start call recording.

    Returns void

startScreenShare

  • startScreenShare(): void
  • Method to start screen share.

    Returns void

stopRecording

  • stopRecording(): void
  • Method to stop call recording.

    Returns void

stopScreenShare

  • stopScreenShare(): void
  • Method to stop screen share.

    Returns void

Static getInstance