Hello guys, need a help, want to reduce the app size by downloading AR content (video above image) by QR-codes. Empty application which download a video and track over image. Just need to know is it possible to make?
I think the solution will either this two options:
- Stream the video
- Download the video locale and play it
First option is preferable for me, we can put the url or link access of the video streaming, then fetch into code to get access to play it as streamable video. I still don’t know how to implement it but the flow will be:
- Place the link access into QR code
- App read the data from QR code, system process it
- With the streaming protocol, play the video on desirable GameObject (UI, etc.)
- The app has to be keep online, same as you stream video, also quality lowering and buffering is might be happened
Second option is good for high speed connection, and has offline option.
- Link access on the QR code will be how the app will download the video
- Put the video where it is on app locale, not device locale (not Downloads folder, etc.)
- App locale means if the app closed, it will deleted, or you can utilize cache to bring again the same video
- Play video with video player in Unity, on desirable GameObject
Sorry I can’t help much with code, giving reference, or more.
Either using AR or in 2D/3D platform, it should be have the similar technique, that your idea is possible.
Good luck!