miliholistic.blogg.se

Agora video call documentation
Agora video call documentation










agora video call documentation
  1. AGORA VIDEO CALL DOCUMENTATION HOW TO
  2. AGORA VIDEO CALL DOCUMENTATION FOR ANDROID
  3. AGORA VIDEO CALL DOCUMENTATION CODE
  4. AGORA VIDEO CALL DOCUMENTATION DOWNLOAD

But with this integration, you can also build in-app one-to-many video calls and communal live-streaming events using exactly the same principles. The above demonstration offers a straightforward example of one-to-one video chat. Using PubNub greatly simplifies the process of securely connecting tenants, and supports an instantaneous, lag-free experience for your users.īuilding communal experiences with video and voice chat It connects both users by passing along requests within 100ms of the initial invite. In this chain of events, PubNub acts as a reliable broker of communications.

agora video call documentation

Once User B accepts the invite, the Video Session Object is passed directly to User B, and the video call begins. Simultaneously, PubNub fulfills a crucial role by seamlessly passing the video invite to User B. The application server creates the video session, and passes it as a Video Session Object to User A. The request is validated by the application server. In this sample case, once User A requests a video call to User B, a few things happen: Copy the following files or subfolders from the libs folder of the downloaded SDK package to the path of your project.This diagram offers a simplified blueprint that demonstrates how PubNub and Agora work hand-in-hand to orchestrate a private, one-to-one video call.

AGORA VIDEO CALL DOCUMENTATION DOWNLOAD

Go to SDK Downloads, download the latest version of the Agora Video SDK, and extract the files from the downloaded SDK package.

AGORA VIDEO CALL DOCUMENTATION FOR ANDROID

In addition to integrating the Agora Video SDK for Android through MavenCentral, you can also import the SDK into your project by manually copying the SDK files. Sample project ​Īgora provides an open-source sample project Basic Video Call on GitHub that implements one-to-one video call and group video call for your reference. This section provides additional information for your reference.

AGORA VIDEO CALL DOCUMENTATION HOW TO

Authenticate Your Users with Tokens shows you how to start video calling with a token that you retrieve from your server. Generating a token by hand is not helpful in a production context. Enter the same App ID and channel name.Īfter your friend joins the channel, you should be able to see and hear each other.

  • Ask a friend to join the video call with you on the demo app.
  • When the app launches, you should be able to see yourself on the local view.
  • A moment later you will see the project installed on your device.
  • Connect an Android device to your computer, and click Run 'app' on your Android Studio.
  • Fill channelName with the channel name that you use to generate the temporary token.
  • Fill in the appId and token parameters with the App ID and temporary token that you retrieve from Agora Console.
  • A mobile device that runs Android 4.1 or later.įollow the steps to create the environment necessary to add video call into your app.įor new projects, in Android Studio, create a Phone and Tablet Android project with an Empty Activity.
  • If your network has a firewall, follow the instructions in Firewall Requirements.
  • A computer with access to the internet.
  • An active Agora project with an App ID and a temporary token.
  • The channel name: A string that identifies the channel for the video call.īefore proceeding, ensure that your development environment meets the following requirements:.
  • For this page, you use a temporary token with a validity period of 24 hours that you retrieve from Agora Console.
  • A token: In a test or production environment, your app client retrieves tokens from a server in your security infrastructure.
  • You need to specify the user ID yourself, and ensure that it is unique in the channel.
  • 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.
  • Publish and subscribe to audio and video in the channelĪfter joining a channel, the app client automatically publishes and subscribes to audio and video in the channel.įor an app client to join a channel, you need the following information: 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. The following figure shows the workflow to integrate into your app in order to add Video Call functionality.Īs shown in the figure, the workflow for adding Video Call in your project is as follows:Ī token is the credential that authenticates a user when your app client joins a channel.

    agora video call documentation

    AGORA VIDEO CALL DOCUMENTATION CODE

    This page shows the minimum code you need to add video call 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.

    agora video call documentation

    People engage longer when they see, hear, and interact with each other.












    Agora video call documentation