Package com.amazonaws.ivs.broadcast
Class CustomAudioSource
java.lang.Object
com.amazonaws.ivs.broadcast.Device
com.amazonaws.ivs.broadcast.AudioDevice
com.amazonaws.ivs.broadcast.AudioSource
com.amazonaws.ivs.broadcast.CustomAudioSource
- All Implemented Interfaces:
Releasable
An extension of
AudioSource
to send app-generated audio to the SDK in LPCM format.
See also DeviceDiscovery.createAudioInputSource(int, BroadcastConfiguration.AudioSampleRate, Format)
-
Nested Class Summary
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.AudioDevice
AudioDevice.Format, AudioDevice.StatsCallback
Nested classes/interfaces inherited from class com.amazonaws.ivs.broadcast.Device
Device.Descriptor
-
Field Summary
Fields inherited from class com.amazonaws.ivs.broadcast.AudioSource
descriptor, handle, statsCallback, tag
-
Constructor Summary
-
Method Summary
Methods inherited from class com.amazonaws.ivs.broadcast.AudioSource
appendBuffer, appendBuffer, getDescriptor, getHandle, getTag, isValid, setConfiguration, setGain, setGain, setStatsCallback
-
Constructor Details
-
CustomAudioSource
-
-
Method Details
-
finalize
-
release
public void release()Releases the custom audio source instance. This method must be called when theCustomAudioSource
is no longer being used. The custom audio source cannot be used after this method is called.- Specified by:
release
in interfaceReleasable
-