Render cam preview

Hi, we are working on some Ar application, therefor we need to render the camera preview. Since we are really new in Unreal we don’t know the source very well yet.
The two possible options that we were thinking of for now are:

  1. Extending the UTexture (or the UMediaTexture) somehow to update it’s data every frame with the camera preview data.
  2. Drawing directly to the Android surface (that is handled to Unreal through JNI) before Unreal is doing its rendering work on it.
    In my opinion 2) seems to be the better way todo or task since we don’t need to deal with illumination and camera movements…

If somebody has already done something like that, or has any hint, tip, or some idea where we should look into the engine’s source todo our task (especially regarding option 2.) we would be really thankful?

I’m also searching for a way to access the rear-facing camera on Android (GearVR) using Unreal 4.7. I’ll let you know if i find anything…in the meantime, any input from Epic or the communtiy would be great.

The best I’ve found so far is Epic’s GameLiveStreaming classes, which appear to be interfaces for other developers to implement plugins for game streaming like twitch. I hope I’m wrong but it doesn’t seem to come with any default implementation that might allow us to open the camera on device.