Class CustomImageSource

All Implemented Interfaces:
Releasable

public class CustomImageSource extends SurfaceSource implements Releasable
An extension of SurfaceSource to send app-generated video to the SDK. See also DeviceDiscovery.createImageInputSource(BroadcastConfiguration.Vec2)
  • Constructor Details

    • CustomImageSource

      protected CustomImageSource(android.content.Context context, android.view.Surface inputSurface, android.graphics.SurfaceTexture inputSurfaceTexture, android.os.Handler handler, 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 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.
      Specified by:
      release in interface Releasable