Photon Voice v2.58

Public Member Functions | Public Attributes | List of all members
VoiceDebugScript Class Reference

Utility script to be attached next to PhotonVoiceView & PhotonView on the player prefab to be network instantiated. Call voiceDebugScript.CantHearYou() on the networked object of the remote (or local) player if you can't hear the corresponding player. More...

Inherits MonoBehaviourPun.

Public Member Functions

void CantHearYou ()
 

Public Attributes

bool ForceRecordingAndTransmission
 Make sure recorder.TransmitEnabled and recorder.RecordingEnabled are true. More...
 
AudioClip TestAudioClip
 Audio file to be broadcast when TestUsingAudioClip is enabled. More...
 
bool TestUsingAudioClip
 Broadcast Audio file to make sure transmission over network works if microphone (audio input device/hardware) is not reliable. Requires setting AudioClip in TestAudioClip. More...
 
bool DisableVad
 Disable recorder.VoiceDetection for easier testing. More...
 
bool IncreaseLogLevels
 Set main voice component's log level to ALL (max). More...
 
bool LocalDebug
 Debug DebugEcho mode (Can't Hear My Self?!). More...
 

Detailed Description

Utility script to be attached next to PhotonVoiceView & PhotonView on the player prefab to be network instantiated. Call voiceDebugScript.CantHearYou() on the networked object of the remote (or local) player if you can't hear the corresponding player.

Member Data Documentation

◆ DisableVad

bool DisableVad

Disable recorder.VoiceDetection for easier testing.

◆ ForceRecordingAndTransmission

bool ForceRecordingAndTransmission

Make sure recorder.TransmitEnabled and recorder.RecordingEnabled are true.

◆ IncreaseLogLevels

bool IncreaseLogLevels

Set main voice component's log level to ALL (max).

◆ LocalDebug

bool LocalDebug

Debug DebugEcho mode (Can't Hear My Self?!).

◆ TestAudioClip

AudioClip TestAudioClip

Audio file to be broadcast when TestUsingAudioClip is enabled.

◆ TestUsingAudioClip

bool TestUsingAudioClip

Broadcast Audio file to make sure transmission over network works if microphone (audio input device/hardware) is not reliable. Requires setting AudioClip in TestAudioClip.