Commit 4ff72632 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Improved doc a bit

parent c1ec7c89
......@@ -8,9 +8,10 @@ These objects must be given using :java:func`setNativeVideoWindowId` and java:fu
Here's the complete code:
.. code-block:: java
Core mCore; // Get it the way you prefer
TextureView mVideoView = view.findViewById(R.id.videoSurface);
TextureView mCaptureView = view.findViewById(R.id.videoCaptureSurface);
LinphoneManager.getLc().setNativeVideoWindowId(mVideoView);
LinphoneManager.getLc().setNativePreviewWindowId(mCaptureView);
\ No newline at end of file
mCore.setNativeVideoWindowId(mVideoView);
mCore.setNativePreviewWindowId(mCaptureView);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment