VideoFileSource

class VideoFileSource(context: Context, path: Uri, loopMode: Boolean = true, onFinish: (isLoop: Boolean) -> Unit = {}) : VideoSource

Created by pedro on 2/3/24.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
var fps: Int
Link copied to clipboard
var height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var width: Int

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun init(width: Int, height: Int, fps: Int, rotation: Int): Boolean
Link copied to clipboard
open override fun isRunning(): Boolean
Link copied to clipboard
fun moveTo(time: Double)
Link copied to clipboard
open override fun release()
Link copied to clipboard
fun replaceFile(context: Context, uri: Uri)
Link copied to clipboard
fun setLoopMode(enabled: Boolean)
Link copied to clipboard
open override fun start(surfaceTexture: SurfaceTexture)
Link copied to clipboard
open override fun stop()