Rate this page:

CustomVideoSource

Class that represents alternative video frame source for a call. The class may be used to send video frames from an alternative to camera video source.

Inherits from VideoSource interface.

Constructors

CustomVideoSource

Copy URL
fun CustomVideoSource(): 

Props

surfaceTextureHelper

Copy URL
var surfaceTextureHelper: 

SurfaceTextureHelper?

Sets WebRTC SurfaceTextureHelper created externally on the application side.

SurfaceTextureHelper may be used to send video frames previously rendered to a surface, for example, from external implementation of android Camera and its preview.

SurfaceTextureHelper should be created with shared com.voximplant.android.sdk.calls.VICalls.eglBase context.

Use this context for video encoding/decoding and video rendering.

Returns

  • type:

    SurfaceTextureHelper?