The user ID: The unique identifier of a user.You can get the App ID from Agora Console. The App ID: A randomly generated string provided by Agora for identifying your app.For an auidence memeber to send audio and video, you can call setClientRole to switch the client role.įor an app client to join a channel, you need the following information: Publish and subscribe to audio and video in the channelĪfter joining a channel, app clients with the role of the host can publish audio and video. App clients that pass the same channel name join the same channel. In a test or production environment, your app client retrieves tokens from a server in your security infrastructure.Ĭall joinChannel to create and join a channel. Hosts publish streams to the channel, and the audience subscribe to the streams.Ī token is the credential that authenticates a user when your app client joins a channel. The following figure shows the workflow to integrate into your app in order to add Interactive Live Streaming Premium functionality.Īs shown in the figure, the workflow for adding Interactive Live Streaming Premium in your project is as follows:Įach user in an Interactive Live Streaming Premium channel is either a host or an audience member. This page shows the minimum code you need to add interactive live streaming into your app by using the Agora Video SDK for Android. The Agora SDK enables you to embed real-time voice and video interaction in any app, on any device, anywhere. People engage longer when they see, hear, and interact with each other.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |