July 2024 Summaries
4 posts from Agora
Filter
Month:
Year:
Post Summaries
Back to Blog
This guide aims to bring the convenience of subtitles to video calls by leveraging Agora's Real-Time Transcription service, which transcribes spoken audio in real-time. The app uses a backend server to control the transcription process and ensures that only one instance of Real-Time Transcription runs within each channel. The `startTranscription` function is called after the join call method to initiate transcription as soon as the first user joins the channel, while the `stopTranscription` function is used to stop the transcription when the call ends. The app uses Protocol Buffers to decode and serialize the transcription data, which contains an array of words with transcribed sentences. The subtitle is updated in real-time using the `onStreamMessage` event, allowing users to view subtitles as they speak.
Jul 22, 2024
1,224 words in the original blog post.
The development of real-time voice and video communication with Large Language Models (LLMs) is hindered by significant challenges, including latency. Latency can be broken down into mouth-to-ear delay and turn-taking delay in conversation. The ideal mouth-to-ear delay is around 208 ms, similar to human response time. However, when users are separated by distance, the total mouth-to-ear delay increases significantly due to network stack and transit delays. These delays can cause user dissatisfaction with conversational AI experiences. To minimize latency, it's essential to partner with a provider that optimizes both device-level and network-level latencies, as well as consider LLM providers who have demonstrated performance in turn-taking delay reduction. By understanding the impact of latency on speech-driven conversational AI applications, developers can build more satisfying conversational AI experiences.
Jul 18, 2024
1,283 words in the original blog post.
The text discusses the creation of a backend token generator for Agora video calls using the Astro web framework. The project aims to provide a secure way to authenticate users and manage their privileges within a video call. The author shares their experience with Astro, highlighting its flexibility and ease of use. They walk through the process of setting up an Astro project, installing the necessary packages, and creating a token generator that uses the HMAC-SHA256 algorithm for authentication. The author also provides examples of how to handle errors, generate tokens, and send responses using Astro's API routes.
Jul 17, 2024
1,298 words in the original blog post.
Agora's signaling capabilities are used to build a real-time synchronized user interface in this guide. The application is built using JavaScript and the Agora Signaling SDK, allowing users to interact with each other in real-time. The application includes features such as user joining and leaving channels, sending messages between users, and animations for user interactions. The signaling capabilities are used to create a responsive and synchronized UI, enhancing user engagement.
Jul 08, 2024
3,463 words in the original blog post.