Created
July 29, 2022 07:36
-
-
Save larryluoo/a4cc0c566dfa6497f8f28194547c240d to your computer and use it in GitHub Desktop.
startPreview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Set up a view for the local video preview and start the preview with SDK's default view mode (AspectFill). | |
* The following play_view is a SurfaceView, TextureView, or SurfaceTexture object on the UI. | |
*/ | |
engine.startPreview(new ZegoCanvas(preview_view)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment