saveVideoLocally

fun saveVideoLocally(videoData: ByteArray, filename: String? = null): String?

Saves video data locally to the device's external storage

Return

The path where the video was saved, or null if saving failed

Parameters

videoData

The video data to save

filename

Optional custom filename, if null a timestamped filename will be used