Video Texture View
class VideoTextureView(viewContext: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int) : FrameLayout, MediaTrackSink
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.