VideoView

open class VideoView(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : RelativeLayout, MediaTrackSink

Renders a MediaStreamTrack from a local or remote participant.

Internally, this uses a SurfaceView to provide the best performance. For UI layouts which require overlapping or transparent video views, consider VideoTextureView instead.

Constructors

Link copied to clipboard
constructor(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int)
constructor(viewContext: Context, attrs: AttributeSet?)
constructor(viewContext: Context)
constructor(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)

Types

Link copied to clipboard

Properties

Link copied to clipboard

If true, show this VideoView on top of any other VideoView instances.

Link copied to clipboard

When true, flips rendering in the X axis.

Link copied to clipboard
open override var track: MediaStreamTrack?