Photon Voice: POpusCodec.Enums Namespace Reference

Photon Voice

POpusCodec.Enums Namespace Reference

Enumerations

enum  Bandwidth : int
 
enum  Channels : int
 
enum  Complexity : int
 
enum  Delay
 Using a duration of less than 10 ms will prevent the encoder from using the LPC or hybrid modes. More...
 
enum  ForceChannels : int
 
enum  OpusApplicationType : int
 
enum  OpusStatusCode : int
 
enum  SamplingRate : int
 
enum  SignalHint : int
 

Enumeration Type Documentation

enum Bandwidth : int
strong
Enumerator
Narrowband 

Up to 4Khz

Mediumband 

Up to 6Khz

Wideband 

Up to 8Khz

SuperWideband 

Up to 12Khz

Fullband 

Up to 20Khz (High Definition)

enum Channels : int
strong
Enumerator
Mono 

1 Channel

Stereo 

2 Channels

enum Delay
strong

Using a duration of less than 10 ms will prevent the encoder from using the LPC or hybrid modes.

Enumerator
Delay2dot5ms 

2.5ms

Delay5ms 

5ms

Delay10ms 

10ms

Delay20ms 

20ms

Delay40ms 

40ms

Delay60ms 

60ms

enum OpusApplicationType : int
strong
Enumerator
Voip 

Gives best quality at a given bitrate for voice signals. It enhances the input signal by high-pass filtering and emphasizing formants and harmonics. Optionally it includes in-band forward error correction to protect against packet loss. Use this mode for typical VoIP applications. Because of the enhancement, even at high bitrates the output may sound different from the input.

Audio 

Gives best quality at a given bitrate for most non-voice signals like music. Use this mode for music and mixed (music/voice) content, broadcast, and applications requiring less than 15 ms of coding delay.

RestrictedLowDelay 

Configures low-delay mode that disables the speech-optimized mode in exchange for slightly reduced delay.

enum SignalHint : int
strong
Enumerator
Auto 

(default)

Voice 

Bias thresholds towards choosing LPC or Hybrid modes

Music 

Bias thresholds towards choosing MDCT modes.

Online Documentation  -  Dashboard  -  Support Forum Exit Games GmbH