public class

CustomAudioSource

extends AudioSource
implements Releasable
java.lang.Object
   ↳ com.amazonaws.ivs.broadcast.Device
     ↳ com.amazonaws.ivs.broadcast.AudioDevice
       ↳ com.amazonaws.ivs.broadcast.AudioSource
         ↳ com.amazonaws.ivs.broadcast.CustomAudioSource

Class Overview

An extension of AudioSource to send app-generated audio to the SDK in LPCM format. See also createAudioInputSource(int, BroadcastConfiguration.AudioSampleRate, Format)

Summary

[Expand]
Inherited Fields
From class com.amazonaws.ivs.broadcast.AudioSource
Protected Constructors
CustomAudioSource(String tag, long handle)
Public Methods
synchronized void release()
Releases the custom audio source instance.
Protected Methods
void finalize()
[Expand]
Inherited Methods
From class com.amazonaws.ivs.broadcast.AudioSource
From class com.amazonaws.ivs.broadcast.AudioDevice
From class com.amazonaws.ivs.broadcast.Device
From class java.lang.Object
From interface com.amazonaws.ivs.broadcast.Releasable

Protected Constructors

protected CustomAudioSource (String tag, long handle)

Public Methods

public synchronized 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.

Protected Methods

protected void finalize ()

Throws
Throwable