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:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user