Video Texture View
class VideoTextureView(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : FrameLayout, MediaTrackSink
Content copied to clipboard
Renders a MediaStreamTrack
from a local or remote participant.
In most cases, VideoView
should be used instead of VideoTextureView
. Internally, VideoTextureView
renders to an Android TextureView
. This integrates well with the Android UI hierarchy, but is more resource intensive, and interruptions to the UI thread could cause stuttering in the video.
Constructors
Link copied to clipboard
fun VideoTextureView(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun VideoTextureView(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)
Content copied to clipboard