Describes stream properties.
More...
|
override string | ToString () |
|
|
static VoiceInfo | CreateAudioOpus (POpusCodec.Enums.SamplingRate samplingRate, int channels, OpusCodec.FrameDuration frameDurationUs, int bitrate, object userdata=null) |
| Create stream info for an Opus audio stream. More...
|
|
Describes stream properties.
static VoiceInfo CreateAudioOpus |
( |
POpusCodec.Enums.SamplingRate |
samplingRate, |
|
|
int |
channels, |
|
|
OpusCodec.FrameDuration |
frameDurationUs, |
|
|
int |
bitrate, |
|
|
object |
userdata = null |
|
) |
| |
|
static |
Create stream info for an Opus audio stream.
- Parameters
-
samplingRate | Audio sampling rate. |
channels | Number of channels. |
frameDurationUs | Uncompressed frame (audio packet) size in microseconds. |
bitrate | Stream bitrate (in bits/second). |
userdata | Optional user data. Should be serializable by Photon. |
- Returns
- VoiceInfo instance.
Target bitrate (in bits/second).
Source audio sampling rate (to be resampled to SamplingRate; in Hz).
Uncompressed frame (data packet) size in samples.
Uncompressed frame (audio packet) size in microseconds.
Uncompressed frame (data packet) array size.
Audio sampling rate (frequency, in Hz).
Optional user data. Should be serializable by Photon.