Class CustomAudioSource

All Implemented Interfaces:
Releasable

public class CustomAudioSource extends AudioSource implements Releasable
An extension of AudioSource to send app-generated audio to the SDK in LPCM format. See also DeviceDiscovery.createAudioInputSource(int, BroadcastConfiguration.AudioSampleRate, Format)
  • Constructor Details

    • CustomAudioSource

      protected CustomAudioSource(String tag, long handle)
  • Method Details

    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • release

      public void release()
      Releases the custom audio source instance. This method must be called when the CustomAudioSource is no longer being used. The custom audio source cannot be used after this method is called.
      Specified by:
      release in interface Releasable