forked from AgoraIO/Basic-Video-Call
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.yaml
52 lines (43 loc) · 1.93 KB
/
README.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Meta:
name: Android 1-to-1 Tutorial for Kotlin
# en or cn
lang: en
version: 2.4.1
# | 代表这里是字符串
description: |
This tutorial enables you to quickly get started in your development efforts to create an Android app with real-time video chat using the Agora Video SDK.
With this sample app you can:
- [Join](#join-a-channel) and [leave](#hang-up-and-end-the-call) a channel.
- [Mute and unmute audio](#mute-audio-and-video).
- [Enable or disable video](#mute-audio-and-video).
- [Choose between the front or rear camera](#toggle-cameras).
**Note:** This sample is written in [Kotlin](https://kotlinlang.org), a language officially supported by Android.
Prerequisites:
- Android Studio 3.1+ or IntelliJ IDEA 2018.3+.
- Android device (e.g. Nexus 5X). A real device is recommended because some simulators have missing functionality or lack the performance necessary to run the sample.
QuickStart:
description:
This section shows you how to prepare, build, and run the sample application.
sections:
- title: Obtain an App ID
content: |
$_{APPID}
4. Locate the file **app/src/main/res/values/strings.xml** and replace <#YOUR APP ID#> with the App ID in the dashboard.
```xml
<string name="agora_app_id"><#YOUR APP ID#></string>
<!-- Obtain a temp Access Token at https://dashboard.agora.io -->
<!-- You will need to deploy your own token server for production release -->
<!-- Leave this value empty if Security keys/Token is not enabled for your project -->
<string name="agora_access_token"><#YOUR TOKEN#></string>
```
- title: Integrate the Agora Video SDK
content: |
$_{KOTLIN_INTEGRATE}
- title: Run the Application
content: |
$_{KOTLIN_RUN}
Resources:
document: https://docs.agora.io/en/
issue: https://github.com/AgoraIO/Basic-Video-Call/issues
License:
type: MIT