-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathKeyCenter.swift
More file actions
37 lines (32 loc) · 1.5 KB
/
KeyCenter.swift
File metadata and controls
37 lines (32 loc) · 1.5 KB
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
//
// KeyCenter.swift
// OpenLive
//
// Created by GongYuhua on 6/25/16.
// Copyright © 2016 Agora. All rights reserved.
//
import Foundation
@objc
class KeyCenter: NSObject {
/**
Agora APP ID.
Agora assigns App IDs to app developers to identify projects and organizations.
If you have multiple completely separate apps in your organization, for example built by different teams,
you should use different App IDs.
If applications need to communicate with each other, they should use the same App ID.
In order to get the APP ID, you can open the agora console (https://console.agora.io/) to create a project,
then the APP ID can be found in the project detail page.
*/
@objc
static let AppId: String = <#YOUR AppId#>
/**
Certificate.
Agora provides App certificate to generate Token. You can deploy and generate a token on your server,
or use the console to generate a temporary token.
In order to get the APP ID, you can open the agora console (https://console.agora.io/) to create a project with the App Certificate enabled,
then the APP Certificate can be found in the project detail page.If the project does not have certificates enabled, leave this field blank.
PS: It is unsafe to place the App Certificate on the client side, it is recommended to place it on the server side to ensure that the App Certificate is not leaked.
*/
static let Certificate: String? = nil
static let FaceCaptureLicense: String? = nil
}