For example, simultaneously publishing video streams captured by multiple cameras or multiple screens. The SDK supports capturing or publishing multiple groups of audio and video streams at the same time. The v3.7.x SDK supports subscribing to the audio and video streams of multiple channels, but only supports publishing one group of audio and video streams in one channel. In v3.7.x, the SDK provides the RtcChannel and IRtcChannelEventHandler classes to implement multi-channel control. #Agora video call documentation code#This section introduces compatibility changes for these APIs and the logic for updating the code of your app. #Agora video call documentation update#You can update the relevant implementation according to the error message in the IDE, which is expected to take less time.Īfter upgrading from v3.7.x to 4.x, the way the APIs implement some functions is different. Naming and data type changes: Introduces the naming and data type changes of the main APIs. Modifying the related implementation should require less time. Most of these APIs have alternatives in 4.x. Removed APIs: Introduces APIs that were supported in v3.7.x but removed in 4.x. However, these functions are intended to be added in a future release. Less time is required to modify the related implementation, if any.įunction gaps: Introduces functions that were supported in v3.7.x but are not supported in 4.x. You need to spend significant time modifying the related implementation.īehavior changes: Introduces changes caused by reasonable optimization of the SDK default behavior and API behavior. You need to update the code of your app according to your business scenario.īreaking changes: Introduces API compatibility changes that have a big impact. This section introduces the main changes of 4.x compared to v3.7.x in the following categories. In order to retain Agora functionality in your app, update the code in your app according to What has changed. The 4.x SDK has optimized or modified the implementation of some functions, resulting in incompatibility with the v3.7.x SDK. The file path of ChannelMediaOptions.java in the 4.x SDK is also changed from /models to the root directory. See Get started for more information about integrating the 4.x SDK into your project.Īfter successfully integrating the SDK, you need to update the codes of imported classes from the io.agora.rtc prefix to the io.agora.rtc2 prefix in the /app/java/com.example./MainActivity file of your project. #Agora video call documentation upgrade#This section introduces the main steps to upgrade the SDK from v3.7.x to 4.x. What's changed between Video Calling v3.7.x and v4.x. In your MainActivity.Migration steps to upgrade your app to Video Calling v4.x. Remember to add the required icons from the resource manager. In your app-level adle file, add the following dependency: #Agora video call documentation android#Open your Android Studio and create an empty project and give it a name of your choice. Take note of the APP ID, Channel Name, and your Temp Token. Scroll to the bottom of the page and select generate temporary tokens for audio/video calls.Įnter the channel name and click on generate temp token. Click on the edit button to generate a temporary token that you’ll use in your app. Once you have created the project, you’ll be able to see it in your console. Open the Agora developer console and create a new project as shown below:Ĭhoose a use case that suits your app i.e education, social, entertainment, etc. Creating a project on the Agora dashboard In this tutorial, we will use the SDK to add video calling capabilities in an Android app.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |