Photon Voice v2.58

Public Member Functions | Public Attributes | Protected Member Functions | Static Protected Attributes | Properties | List of all members
AndroidNDKCamera Class Reference

Inherits IDisposable.

Public Member Functions

 AndroidNDKCamera (ILogger logger, VoiceInfo info, string deviceID)
 
void AddSurface (IntPtr surface)
 
void Start ()
 
void Dispose ()
 

Public Attributes

int Width => get_camera_width(handle)
 
int Height => get_camera_height(handle)
 

Protected Member Functions

static IntPtr create_camera_manager (string deviceID, int width, int height)
 
static IntPtr start_camera_session (IntPtr camera)
 
static void stop_camera_session (IntPtr camera)
 
static void is_camera_active (IntPtr camera)
 
static void get_camera_error (IntPtr camera)
 
static void add_surface_to_camera (IntPtr camera, IntPtr surface)
 
static int get_camera_width (IntPtr camera)
 
static int get_camera_height (IntPtr camera)
 

Static Protected Attributes

static Dictionary< IntPtr, AndroidNDKVideoEncoderinstancePerHandle = new Dictionary<IntPtr, AndroidNDKVideoEncoder>()
 

Properties

string Error [get, protected set]