sinch-rtc

# Package-level declarations

## Types

LocalVideoFrameListener
Link copied to clipboard
fun interface LocalVideoFrameListener

Listener to be notified about changes connected with local video frames processing.

ProcessedVideoFrameListener
Link copied to clipboard
fun interface ProcessedVideoFrameListener

Listener to be notified about client-side frame processing events.

RemoteVideoFrameListener
Link copied to clipboard
fun interface RemoteVideoFrameListener

Listener to be notified about changes connected with remote video frames processing.

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.