Defines an Audio device to be used by all publishers and subscribers. More...
Inherited by OpenTok.MMAudioDevice.
Public Member Functions | |
void | InitAudio (AudioDevice.AudioBus audioBus) |
Called when the AudioDevice is initialized. Use the AudioBus object to read write audio data. Call the AudioBus.ReadRenderData(IntPtr buffer, int numberOfSamples) and AudioBus.WriteCaptureData(IntPtr buffer, int numberOfSamples) methods to read render data from subscribers and write capture data to publishers. More... | |
void | DestroyAudio () |
Called when the IAudioDevice instance is destroyed. More... | |
void | InitAudioCapturer () |
Called when the audio capturer for the IAudioDevice instance is initialized. More... | |
void | DestroyAudioCapturer () |
Called when th audio capturer for the IAudioDevice instance is destroyed. More... | |
void | StartAudioCapturer () |
Called when the audio capturer starts. You should begin providing audio samples to the AudioBus.WriteCaptureData(IntPtr buffer, int numberOfSamples) method. More... | |
void | StopAudioCapturer () |
Called when the audio capturer stops. More... | |
bool | IsAudioCapturerInitialized () |
Checks if the audio capturer for the IAudioDevice instance is initialized. More... | |
bool | IsAudioCapturerStarted () |
Checks if the audio capturer for the IAudioDevice instance is started. More... | |
int | GetEstimatedAudioCaptureDelay () |
Gets the estimated audio capture delay. More... | |
AudioDeviceSettings | GetAudioCapturerSettings () |
Called when the IAudioDevice instance requires settings. In your implementation of this method, return an AudioDeviceSettings object. More... | |
void | InitAudioRenderer () |
Called when the audio renderer for the IAudioDevice instance is initialized. More... | |
void | DestroyAudioRenderer () |
Called when th audio renderer for the IAudioDevice instance is destroyed. More... | |
void | StartAudioRenderer () |
Called when the audio renderer starts. You should begin receiving audio samples from the AudioBus.ReadRenderData(IntPtr buffer, int numberOfSamples) method. More... | |
void | StopAudioRenderer () |
Called when the audio renderer stops. More... | |
bool | IsAudioRendererInitialized () |
Checks if the audio renderer for the IAudioDevice instance is initialized. More... | |
bool | IsAudioRendererStarted () |
Checks if the audio renderer for the IAudioDevice instance is started. More... | |
int | GetEstimatedAudioRenderDelay () |
Gets the estimated audio render delay. More... | |
AudioDeviceSettings | GetAudioRendererSettings () |
Gets settings for the audio renderer for the IAudioDevice instance. More... |
Defines an Audio device to be used by all publishers and subscribers.
void OpenTok.IAudioDevice.DestroyAudio | ( | ) |
Called when the IAudioDevice instance is destroyed.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.DestroyAudioCapturer | ( | ) |
Called when th audio capturer for the IAudioDevice instance is destroyed.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.DestroyAudioRenderer | ( | ) |
Called when th audio renderer for the IAudioDevice instance is destroyed.
Implemented in OpenTok.MMAudioDevice.
AudioDeviceSettings OpenTok.IAudioDevice.GetAudioCapturerSettings | ( | ) |
Called when the IAudioDevice instance requires settings. In your implementation of this method, return an AudioDeviceSettings object.
Implemented in OpenTok.MMAudioDevice.
AudioDeviceSettings OpenTok.IAudioDevice.GetAudioRendererSettings | ( | ) |
Gets settings for the audio renderer for the IAudioDevice instance.
Implemented in OpenTok.MMAudioDevice.
int OpenTok.IAudioDevice.GetEstimatedAudioCaptureDelay | ( | ) |
Gets the estimated audio capture delay.
Implemented in OpenTok.MMAudioDevice.
int OpenTok.IAudioDevice.GetEstimatedAudioRenderDelay | ( | ) |
Gets the estimated audio render delay.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.InitAudio | ( | AudioDevice.AudioBus | audioBus | ) |
Called when the AudioDevice is initialized. Use the AudioBus object to read write audio data. Call the AudioBus.ReadRenderData(IntPtr buffer, int numberOfSamples) and AudioBus.WriteCaptureData(IntPtr buffer, int numberOfSamples) methods to read render data from subscribers and write capture data to publishers.
audioBus | The instance of the AudioBus to use for all publishers and subscribers. |
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.InitAudioCapturer | ( | ) |
Called when the audio capturer for the IAudioDevice instance is initialized.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.InitAudioRenderer | ( | ) |
Called when the audio renderer for the IAudioDevice instance is initialized.
Implemented in OpenTok.MMAudioDevice.
bool OpenTok.IAudioDevice.IsAudioCapturerInitialized | ( | ) |
Checks if the audio capturer for the IAudioDevice instance is initialized.
Implemented in OpenTok.MMAudioDevice.
bool OpenTok.IAudioDevice.IsAudioCapturerStarted | ( | ) |
Checks if the audio capturer for the IAudioDevice instance is started.
Implemented in OpenTok.MMAudioDevice.
bool OpenTok.IAudioDevice.IsAudioRendererInitialized | ( | ) |
Checks if the audio renderer for the IAudioDevice instance is initialized.
Implemented in OpenTok.MMAudioDevice.
bool OpenTok.IAudioDevice.IsAudioRendererStarted | ( | ) |
Checks if the audio renderer for the IAudioDevice instance is started.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.StartAudioCapturer | ( | ) |
Called when the audio capturer starts. You should begin providing audio samples to the AudioBus.WriteCaptureData(IntPtr buffer, int numberOfSamples) method.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.StartAudioRenderer | ( | ) |
Called when the audio renderer starts. You should begin receiving audio samples from the AudioBus.ReadRenderData(IntPtr buffer, int numberOfSamples) method.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.StopAudioCapturer | ( | ) |
Called when the audio capturer stops.
Implemented in OpenTok.MMAudioDevice.
void OpenTok.IAudioDevice.StopAudioRenderer | ( | ) |
Called when the audio renderer stops.
Implemented in OpenTok.MMAudioDevice.