Oculus.Platform.VoipOptions Class Reference

Public Member Functions

 VoipOptions ()
 
void SetBitrateForNewConnections (VoipBitrate value)
 
void SetCreateNewConnectionUseDtx (VoipDtxState value)
 

Static Public Member Functions

static operator IntPtr (VoipOptions options)
 For passing to native C. More...
 

Constructor & Destructor Documentation

◆ VoipOptions()

Oculus.Platform.VoipOptions.VoipOptions ( )

Member Function Documentation

◆ operator IntPtr()

static Oculus.Platform.VoipOptions.operator IntPtr ( VoipOptions  options)
explicitstatic

For passing to native C.

◆ SetBitrateForNewConnections()

void Oculus.Platform.VoipOptions.SetBitrateForNewConnections ( VoipBitrate  value)

Sets the maximum average bitrate the audio codec should use. Higher bitrates will increase audio quality at the expense of increased network usage. Use a lower bitrate if you think the quality is good but the network usage is too much. Use a higher bitrate if you think the quality is bad and you can afford to have a large streaming bitrate.

◆ SetCreateNewConnectionUseDtx()

void Oculus.Platform.VoipOptions.SetCreateNewConnectionUseDtx ( VoipDtxState  value)

Set the opus codec to use discontinous transmission (DTX). DTX only transmits data when a person is speaking. Setting this to true takes advantage of the fact that in a two-way converstation each individual speaks for less than half the time. Enabling DTX will conserve battery power and reduce transmission rate when a pause in the voice chat is detected.


The documentation for this class was generated from the following file: