public class

CameraSource

extends SurfaceSource
java.lang.Object
   ↳ com.amazonaws.ivs.broadcast.Device
     ↳ com.amazonaws.ivs.broadcast.ImageDevice
       ↳ com.amazonaws.ivs.broadcast.SurfaceSource
         ↳ com.amazonaws.ivs.broadcast.CameraSource

Class Overview

CameraSource represents a camera input device

Summary

[Expand]
Inherited Fields
From class com.amazonaws.ivs.broadcast.SurfaceSource
Public Methods
Device.Descriptor getDescriptor()
synchronized void setRotation(float rotation)
Sets the rotation of the ImageDevice.
[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

Public Methods

public Device.Descriptor getDescriptor ()

Returns
  • the Device.Descriptor that represents this camera

public synchronized void setRotation (float rotation)

Sets the rotation of the ImageDevice.

Parameters
rotation Rotation in radians