-
- All Implemented Interfaces:
-
com.twilio.video.AudioDevice,com.twilio.video.AudioDeviceCapturer,com.twilio.video.AudioDeviceRenderer
public final class DefaultAudioDevice implements AudioDevice
By default, the Video SDK uses DefaultAudioDevice to capture and render audio. The Video SDK performs acoustic echo cancellation(AEC) and noise suppression(NS) using device hardware by default.
-
-
Method Summary
Modifier and Type Method Description AudioFormatgetCapturerFormat()This method is a no-op that returns {@code null}.booleanonInitCapturer()This method is a no-op that returns {@code false}.booleanonStartCapturing(@NonNull() AudioDeviceContext audioDeviceContext)This method is a no-op that returns {@code false}.booleanonStopCapturing()This method is a no-op that returns {@code false}.AudioFormatgetRendererFormat()This method is a no-op that returns {@code null}.booleanonInitRenderer()This method is a no-op that returns {@code false}.booleanonStartRendering(@NonNull() AudioDeviceContext audioDeviceContext)This method is a no-op that returns {@code false}.booleanonStopRendering()This method is a no-op that returns {@code false}.-
Methods inherited from class com.twilio.video.AudioDevice
audioDeviceExecuteWorkerBlock, audioDeviceFormatChanged, audioDeviceReadRenderData, audioDeviceWriteCaptureData -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCapturerFormat
@Nullable() AudioFormat getCapturerFormat()
This method is a no-op that returns
{@code null}.
-
onInitCapturer
boolean onInitCapturer()
This method is a no-op that returns
{@code false}.
-
onStartCapturing
boolean onStartCapturing(@NonNull() AudioDeviceContext audioDeviceContext)
This method is a no-op that returns
{@code false}.
-
onStopCapturing
boolean onStopCapturing()
This method is a no-op that returns
{@code false}.
-
getRendererFormat
@Nullable() AudioFormat getRendererFormat()
This method is a no-op that returns
{@code null}.
-
onInitRenderer
boolean onInitRenderer()
This method is a no-op that returns
{@code false}.
-
onStartRendering
boolean onStartRendering(@NonNull() AudioDeviceContext audioDeviceContext)
This method is a no-op that returns
{@code false}.
-
onStopRendering
boolean onStopRendering()
This method is a no-op that returns
{@code false}.
-
-
-
-