This is just a quick thing I put together to de-risk an idea for a client.

The android “plugin” (it’s really just a thin proxy class) opens the chosen camera app in video mode (preferably the lowest quality possible) and allows Unity to get the bytes of said video from the media content url the camera returns.

At that point we can convert those bytes into a video stream Unity can use, or as I do in this example upload it either Dropbox or send it as an Email attachment.

Check it out! https://github.com/lightfromshadows/Unity-DB-Email-Test

 

UI
Simple Video Capture/Upload for Android

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s