Add Android Camera To Unity Plugin

The existing unity plugin (an example in webrtc codebase) does not support camera access on Android platform. This CL implements such functionality.

TBR=gyzhou@chromium.org

BUG=webrtc:8067

Review-Url: https://codereview.webrtc.org/2993273002
Cr-Commit-Position: refs/heads/master@{#19277}
This commit is contained in:
qiangchen
2017-08-08 17:08:03 -07:00
committed by Commit Bot
parent b2b803cb74
commit 42f96d53f3
10 changed files with 387 additions and 11 deletions

View File

@ -1,7 +1,10 @@
This directory contains an example Unity native plugin for Windows OS.
This directory contains an example Unity native plugin for Windows OS and Android.
The APIs use Platform Invoke (P/Invoke) technology as required by Unity native plugin.
This plugin dll can also be used by Windows C# applications other than Unity.
For detailed build instruction on Android, see ANDROID_INSTRUCTION
An example of wrapping native plugin into a C# managed class in Unity is given as following:
using System;