Android SDK 100ms
videoview
/
live.hms.videoview.textureview
/
HMSTextureRenderer
HMSTexture
Renderer
class
HMSTextureRenderer
(
surfaceTexture
:
SurfaceTexture
)
Constructors
Functions
Properties
Constructors
HMSTexture
Renderer
Link copied to clipboard
fun
HMSTextureRenderer
(
surfaceTexture
:
SurfaceTexture
)
Functions
add
Track
Link copied to clipboard
fun
addTrack
(
track
:
HMSVideoTrack
)
fun
addTrack
(
track
:
HMSVideoTrack
,
enableBlackFrame
:
Boolean
=
false
)
add
Video
View
State
Change
Listener
Link copied to clipboard
fun
addVideoViewStateChangeListener
(
videoViewStateChangeListener
:
VideoViewStateChangeListener
?
)
disable
Auto
Simulcast
Layer
Select
Link copied to clipboard
fun
disableAutoSimulcastLayerSelect
(
isDisabled
:
Boolean
)
display
Resolution
Link copied to clipboard
fun
displayResolution
(
width
:
Int
,
height
:
Int
)
get
Track
Link copied to clipboard
fun
getTrack
(
)
:
HMSVideoTrack
?
remove
Track
Link copied to clipboard
fun
removeTrack
(
)
Properties
TAG
Link copied to clipboard
val
TAG
:
String