Skip to content

Instantly share code, notes, and snippets.

@larryluoo
Created July 29, 2022 07:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larryluoo/a4cc0c566dfa6497f8f28194547c240d to your computer and use it in GitHub Desktop.
Save larryluoo/a4cc0c566dfa6497f8f28194547c240d to your computer and use it in GitHub Desktop.
startPreview
* 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