public class

CustomImageSource

extends SurfaceSource
implements Releasable
java.lang.Object
   ↳ com.amazonaws.ivs.broadcast.Device
     ↳ com.amazonaws.ivs.broadcast.ImageDevice
       ↳ com.amazonaws.ivs.broadcast.SurfaceSource
         ↳ com.amazonaws.ivs.broadcast.CustomImageSource

Class Overview

An extension of SurfaceSource to send app-generated video to the SDK. See also createImageInputSource(BroadcastConfiguration.Vec2)

Summary

[Expand]
Inherited Fields
From class com.amazonaws.ivs.broadcast.SurfaceSource
Protected Constructors
CustomImageSource(Context context, Surface inputSurface, SurfaceTexture inputSurfaceTexture, Handler handler, String tag, long handle)
Public Methods
synchronized void release()
Releases the custom image source instance.
Protected Methods
void finalize()
[Expand]
Inherited Methods
From class com.amazonaws.ivs.broadcast.SurfaceSource
From class com.amazonaws.ivs.broadcast.ImageDevice
From class com.amazonaws.ivs.broadcast.Device
From class java.lang.Object
From interface com.amazonaws.ivs.broadcast.Releasable

Protected Constructors

protected CustomImageSource (Context context, Surface inputSurface, SurfaceTexture inputSurfaceTexture, Handler handler, String tag, long handle)

Public Methods

public synchronized void release ()

Releases the custom image source instance. This method must be called when the CustomImageSource is no longer being used. The custom image source cannot be used after this method is called.

Protected Methods

protected void finalize ()

Throws
Throwable