Skip to content

Instantly share code, notes, and snippets.

View Tyqjshdidbhdid's full-sized avatar

Tyqjshdidbhdid

View GitHub Profile
private fun playbackArVideo(augmentedImage: AugmentedImage) {
Log.d(TAG, "playbackVideo = ${augmentedImage.name}")
requireContext().assets.openFd(augmentedImage.name)
.use { descriptor ->
val metadataRetriever = MediaMetadataRetriever()