November 2020 Summaries
9 posts from Agora
Filter
Month:
Year:
Post Summaries
Back to Blog
This guide provides detailed steps for replacing Twilio's Video SDK with Agora's RtcEngine in an Android application. The process involves creating a string in the String.xml file to store the Agora AppID, replacing the Twilio SDK dependency with the Agora Video SDK in the app level build.gradle file, and removing Twilio listeners while implementing an instance of the Agora singleton. Other steps include enabling video, setting up local and remote video, joining a channel, and handling disconnection, flipping camera, and toggling mic functionalities. The guide aims to help developers adopt Agora's SD-RTN™ for live voice, video, and streaming integrations with ease.
Nov 30, 2020
1,385 words in the original blog post.
This tutorial explains how to fetch an Agora token from a web service running an Agora token server in your Android application with Java. The Agora platform uses tokens to authenticate users, and this is crucial for security within video chat applications as remote working and virtual events become more prevalent. To fetch a token, you need to have a token server set up either locally or elsewhere. Once the token server is established, you can fetch a token into your application by following specific steps in Android using Java. The tutorial also covers how to stay connected by updating tokens before they expire and renewing them without needing to disconnect from the channel.
Nov 25, 2020
539 words in the original blog post.
This tutorial teaches how to fetch an Agora token from a web service running an Agora token server using Unity and C#. The Agora platform uses tokens for user authentication in video chat applications, especially important with the rise of remote working and virtual events. To set up the project, create a Unity project or use the example project on GitHub. Fetching the token involves determining the full URL to reach the token service and using UnityWebRequest for the GET request. Connecting to a channel uses the JoinChannelByKey method with the channel token and name as parameters. To stay connected, update tokens using OnTokenPrivilegeWillExpireHandler and IRtcEngine.RenewToken().
Nov 24, 2020
565 words in the original blog post.
In this tutorial, developers are shown how to switch from using Frozen Mountain to Agora for video chat purposes in Unity. The main reason for migrating is that Agora requires fewer lines of code and provides a more scalable and reliable network compared to standard WebRTC protocols. The guide includes step-by-step instructions on integrating the Agora SDK into the Frozen Mountain starter demo for Unity, as well as explanations on how to create connections to the Agora network and set up video chat by calling JoinChannel().
Nov 19, 2020
698 words in the original blog post.
In this tutorial, learn how to change the channel profile from Agora's default state (Communication) to Live Broadcasting. Use Unity's Canvas UI to display attributes from each broadcaster in real-time and include a contingency for how the video feed will respond to difficult network conditions. Monitor these conditions using call stats UI. The tutorial builds on the agora-party-chat demo, which demonstrates basic Agora functionality and PUN2 networking in action. Adjustments are made to the demo to implement live broadcasting features, real-time call stats, and stream fallback under poor network conditions.
Nov 16, 2020
1,495 words in the original blog post.
This guide provides detailed instructions for migrating from TokBox's iOS SDK to Agora's iOS SDK for voice, video, and live-broadcasting services. The primary differences between the two are in their architectures - while TokBox relies heavily on delegates, Agora uses a singleton design pattern. The guide covers how to replace TokBox's delegate design pattern with Agora's singleton design pattern, as well as how to set up local and remote video using Agora's SDK. It also explains the concept of joining a channel in Agora. The completed project can be found at https://github.com/AgoraIO-Community/Agora-iOS-SDK-Migration-from-TokBox.
Nov 13, 2020
1,176 words in the original blog post.
This guide provides detailed steps for replacing Twilio's delegate design pattern with Agora's singleton design pattern in an iOS application. The process involves creating an easily accessible variable, replacing the Twilio video pod and import statements, removing four delegates, initializing an instance of the Agora singleton, enabling video, configuring the canvas or video, joining a channel, and handling disconnection and other features. By following these steps, developers can adopt Agora's voice, video, and live-broadcasting software for their applications, leveraging its Software Defined Real-Time Network (SD-RTN™) infrastructure.
Nov 12, 2020
1,160 words in the original blog post.
This tutorial demonstrates how to integrate the PubNub Web SDK with an Android app that uses the Agora Video SDK for voice and video communication. The project setup involves adding PubNub keys, creating a chat UI, integrating a PubNub client, connecting the client to a channel, and using the client to send and receive messages in the channel. The final application allows users to engage in text-based chat during video calls.
Nov 06, 2020
1,035 words in the original blog post.
This guide teaches how to integrate Oculus Quest and create a drag-and-drop solution for Agora real-time live video streaming, which has subsecond latency global network support. The process involves installing necessary assets from the Unity Asset Store, modifying project settings, creating a scene using an existing Oculus room template, creating a new material, and making an Agora Drag And Drop prefab instance. Lastly, testing on device is done by building and running the app on an Oculus Quest headset.
Nov 02, 2020
954 words in the original blog post.