# Media3VideoSource

class Media3VideoSource(context: Context, path: Uri, speed: Float = 1.0f, loopMode: Boolean = true, onFinish: (isLoop: Boolean) -> Unit = {}) : VideoSource

## Constructors

Media3VideoSource
Link copied to clipboard
constructor(context: Context, path: Uri, speed: Float = 1.0f, loopMode: Boolean = true, onFinish: (isLoop: Boolean) -> Unit = {})

## Properties

created
Link copied to clipboard
var created: Boolean
fps
Link copied to clipboard
var fps: Int
height
Link copied to clipboard
var height: Int
rotation
Link copied to clipboard
var rotation: Int
surfaceTexture
Link copied to clipboard
var surfaceTexture: SurfaceTexture?
width
Link copied to clipboard
var width: Int

## Functions

getOrientationConfig
Link copied to clipboard
open override fun getOrientationConfig(): OrientationConfig
getPlayer
Link copied to clipboard
fun getPlayer(): ExoPlayer?
init
Link copied to clipboard
fun init(width: Int, height: Int, fps: Int, rotation: Int): Boolean
isRunning
Link copied to clipboard
open override fun isRunning(): Boolean
release
Link copied to clipboard
open override fun release()
start
Link copied to clipboard
open override fun start(surfaceTexture: SurfaceTexture)
stop
Link copied to clipboard
open override fun stop()