Photon Voice v2.53

Protected Member Functions | Properties | List of all members
PhotonVoiceView Class Reference

Component that should be attached to a networked PUN prefab that has PhotonView. It will bind remote Recorder with local Speaker of the same networked prefab. This component makes automatic voice stream routing easy for players' characters/avatars. More...

Inherits VoiceComponent.

Protected Member Functions

override void Awake ()
 

Properties

Recorder RecorderInUse [get]
 The Recorder component currently used by this PhotonVoiceView More...
 
Speaker SpeakerInUse [get]
 The Speaker component currently used by this PhotonVoiceView More...
 
bool IsSpeaking [get]
 If true, this PhotonVoiceView has a Speaker that is currently playing received audio frames from remote audio source More...
 
bool IsRecording [get]
 If true, this PhotonVoiceView has a Recorder that is currently transmitting audio stream from local audio source More...
 
- Properties inherited from VoiceComponent
string Name [set]
 

Additional Inherited Members

- Public Attributes inherited from VoiceComponent
VoiceLogger VoiceLogger => impl.VoiceLogger
 
- Protected Attributes inherited from VoiceComponent
Voice.ILogger Logger => impl.Logger
 

Detailed Description

Component that should be attached to a networked PUN prefab that has PhotonView. It will bind remote Recorder with local Speaker of the same networked prefab. This component makes automatic voice stream routing easy for players' characters/avatars.

Property Documentation

◆ IsRecording

bool IsRecording
get

If true, this PhotonVoiceView has a Recorder that is currently transmitting audio stream from local audio source

◆ IsSpeaking

bool IsSpeaking
get

If true, this PhotonVoiceView has a Speaker that is currently playing received audio frames from remote audio source

◆ RecorderInUse

Recorder RecorderInUse
get

The Recorder component currently used by this PhotonVoiceView

◆ SpeakerInUse

Speaker SpeakerInUse
get

The Speaker component currently used by this PhotonVoiceView