# Package-level declarations

## Types

LocalVideoFrameListener
Link copied to clipboard
fun interface LocalVideoFrameListener

Listener for video frames captured from the local camera.

ProcessedVideoFrameListener
Link copied to clipboard
fun interface ProcessedVideoFrameListener

Completion callback passed to LocalVideoFrameListener.onFrame.

RemoteVideoFrameListener
Link copied to clipboard
fun interface RemoteVideoFrameListener

Listener for video frames received from the remote party.

VideoCallListener
Link copied to clipboard
interface VideoCallListener : CallListener

Represents a listener for Call events connected with a video call. This listener will be notified about same events as usual CallListener and extra ones connected with video specific functionalities. The listener can be added by invoking same Call.addCallListener method as for usual audio-only call.

VideoController
Link copied to clipboard
interface VideoController

Entry point for controlling different video settings. A VideoController object is only valid while the connected SinchClient is started. As soon as the SinchClient is stopped, this object is invalidated and must not be used.

VideoFrame
Link copied to clipboard
interface VideoFrame

Interface for representing video frame. Check color format by using VideoFrame.colorFormat. Most used format is ImageFormat.YUV_420_888 which is I420 format that uses planar or semi-planar (but not fully interleaved) memory layout - do not assume continuity and use use VideoFrame.yuvPlanes and VideoFrame.yuvStrides APIs to get correct start line of any plane. NB: do not assume that ByteBuffers of VideoFrame.yuvPlanes are backed by Java's byte[] arrays! Most probably frame you receive via this API is natively allocated and NOT backed by Java array. Use slow but secure ByteBuffer.put or better, your own native C++ processing via JNI.

VideoScalingType
Link copied to clipboard
enum VideoScalingType : Enum<VideoScalingType>

Enumeration used to control how video frames are render to occupy Android view available space on screen.

VideoUtils
Link copied to clipboard
object VideoUtils

Entry point for accessing helper methods of video frames processing.