-
Notifications
You must be signed in to change notification settings - Fork 286
/
Copy pathREADME.yaml
52 lines (42 loc) · 1.74 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: Open Live macOS for Objective-C
# en or cn
lang: en
project: OpenLive
# | 代表这里是字符串
description: |
The Open Live macOS for Swift Sample App is an open-source demo that will help you get live video chat integrated directly into your macOS applications using the Agora Video SDK.
With this sample app, you can:
- Join / leave channel
- Set role as broadcaster or audience
- Mute / unmute audio
- Setup resolution, frame rate and bit rate
This demo is written in **Objective-C**, you can find **Swift** version here: [OpenLive-macOS](https://github.com/AgoraIO/Basic-Video-Broadcasting/tree/master/OpenLive-macOS)
A tutorial demo can be found here: [Agora-macOS-Tutorial-Swift-1to1](https://github.com/AgoraIO/Basic-Video-Call/tree/master/One-to-One-Video/Agora-macOS-Tutorial-Swift-1to1)
Prerequisites:
- Xcode 10.0+
QuickStart:
description:
This section shows you how to prepare, build, and run the sample application.
sections:
- title: Obtain an App ID
content: |
$_{APPID}
5. Open `OpenLive.xcodeproj` and edit the `KeyCenter.m` file. Update `<#Your App Id#>` with your app ID, and assign the token variable with the temp Access Token generated from dashboard.
```
+ (NSString *)AppId {
return <#Your App Id#>;
}
// assign token to nil if you have not enabled app certificate
+ (NSString *)Token {
return <#Temp Access Token#>;
}
```
- title: Integrate the Agora Video SDK
content: |
$_{MAC_RUN}
Resources:
document: https://docs.agora.io/en/
issue: https://github.com/AgoraIO/Basic-Video-Call/issues
License:
type: MIT