Created
July 21, 2022 12:40
-
-
Save larryluoo/94c0590e63eda23001ab27b7b0dae480 to your computer and use it in GitHub Desktop.
playStream
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
/** | |
* Start playing a remote stream with the SDK's default view mode (AspectFill). | |
* The play_view below is a SurfaceView/TextureView/SurfaceTexture object on UI. | |
*/ | |
engine.startPlayingStream("stream1", new ZegoCanvas(play_view)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment