Skip to content

More than one video at a time #5

@jankais3r

Description

@jankais3r

Hi Oleksii,

Many thanks for this sample project and your great tutorial. Having no prior Android development experience, I was wondering how difficult would it be to support more than one image-video pair at a time. So far I commented out the code block that paused the video when it stopped being fully tracked, but that did not cut it.

I guess I'll have to modify this part as well, to include more than just one tracking image?

fullTrackingImages.firstOrNull()?.let { augmentedImage ->
    try {
        playbackArVideo(augmentedImage)
    } catch (e: Exception) {
        Log.e(TAG, "Could not play video [${augmentedImage.name}]", e)
    }
}

I'll comment here for future reference if I figure this out on my own. Thanks again!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions