Class: LocalVoiceAudio

Photon.Voice.LocalVoiceAudio

Outgoing audio stream.

Extends

Methods

getDebugEchoMode() → {boolean}

Gets Debug Echo Mode

Inherited From:
Returns:
True is enbaled.
Type
boolean

getFEC() → {boolean}

Gets Forward Error Correction Mode

Inherited From:
Returns:
True is enbaled.
Type
boolean

getFragment() → {boolean}

Gets Fragment Mode

Inherited From:
Returns:
True is enbaled.
Type
boolean

pushData(frame)

Sends an uncompressed audio frame to the encoder.

Parameters:
Name Type Description
frame Float32Array Audio frame.

setDebugEchoMode(on)

Sets Debug Echo Mode

Parameters:
Name Type Description
on boolean True to enable.
Inherited From:

setFEC(on)

Sets Forward Error Correction Mode

Parameters:
Name Type Description
on boolean True to enable.
Inherited From:

setFragment(on)

Sets Fragment Mode

Parameters:
Name Type Description
on boolean True to enable.
Inherited From: