Suggestions

close search

Add Messaging, Voice, and Authentication to your apps with Vonage Communications APIs

Visit the Vonage API Developer Portal

OpenTok.Subscriber.AudioDataEventArgs

Defines parameters for OpenTok.AudioData events. More...

Inherits EventArgs.

Properties

byte [] SampleBuffer [get]
 The buffer with the audio samples. The total size of the buffer is NumberOfSamples * NumberOfChannels * BitsPerSample / 8. More...
int BitsPerSample [get]
 The number of bits in each sample. More...
int SampleRate [get]
 The bitrate of the samples, in bits per second. More...
int NumberOfChannels [get]
 The number of audio channels. More...
int NumberOfSamples [get]
 The number of samples. More...

Detailed Description

Defines parameters for OpenTok.AudioData events.

Property Documentation

◆ BitsPerSample

int OpenTok.Subscriber.AudioDataEventArgs.BitsPerSample

The number of bits in each sample.

◆ NumberOfChannels

int OpenTok.Subscriber.AudioDataEventArgs.NumberOfChannels

The number of audio channels.

◆ NumberOfSamples

int OpenTok.Subscriber.AudioDataEventArgs.NumberOfSamples

The number of samples.

◆ SampleBuffer

byte [] OpenTok.Subscriber.AudioDataEventArgs.SampleBuffer

The buffer with the audio samples. The total size of the buffer is NumberOfSamples * NumberOfChannels * BitsPerSample / 8.

◆ SampleRate

int OpenTok.Subscriber.AudioDataEventArgs.SampleRate

The bitrate of the samples, in bits per second.