 Photon Voice
        
        
            v2.58
        
            Photon Voice
        
        
            v2.58
        
    Variant of LoadBalancingTransport. Aims to be non-alloc at the cost of breaking compatibility with older clients. More...
Inherits LoadBalancingTransport.
| Public Member Functions | |
| LoadBalancingTransport2 (ILogger logger=null, ConnectionProtocol connectionProtocol=ConnectionProtocol.Udp, bool cppCompatibilityMode=false) | |
| override int | GetPayloadFragmentSize (SendFrameParams par) | 
|  Public Member Functions inherited from LoadBalancingTransport | |
| bool | IsChannelJoined (int channelId) | 
| LoadBalancingTransport (ILogger logger=null, ConnectionProtocol connectionProtocol=ConnectionProtocol.Udp, bool cppCompatibilityMode=false) | |
| Initializes a new LoadBalancingTransport.  More... | |
| new void | Service () | 
| This method dispatches all available incoming commands and then sends this client's outgoing commands. Call this method regularly (2 to 20 times a second).  More... | |
| virtual bool | ChangeAudioGroups (byte[] groupsToRemove, byte[] groupsToAdd) | 
| void | SendVoiceInfo (LocalVoice voice, int channelId, bool targetMe, int[] targetPlayers) | 
| void | SendVoiceRemove (LocalVoice voice, int channelId, bool targetMe, int[] targetPlayers) | 
| void | SendFrame (ArraySegment< byte > data, FrameFlags flags, byte evNumber, byte frNumber, byte voiceId, int channelId, SendFrameParams par) | 
| string | ChannelIdStr (int channelId) | 
| string | PlayerIdStr (int playerId) | 
| void | Dispose () | 
| Releases all resources used by the LoadBalancingTransport instance.  More... | |
| Protected Attributes | |
| override byte | FrameCode => VoiceEvent.FrameCode | 
|  Protected Attributes inherited from LoadBalancingTransport | |
| VoiceClient | voiceClient | 
| readonly bool | cppCompatibilityMode | 
| readonly ILogger | logger | 
| virtual byte | FrameCode => VoiceEvent.Code | 
| Additional Inherited Members | |
|  Properties inherited from LoadBalancingTransport | |
| VoiceClient | VoiceClient  [get] | 
| The VoiceClient implementation associated with this LoadBalancingTransport.  More... | |
Variant of LoadBalancingTransport. Aims to be non-alloc at the cost of breaking compatibility with older clients.