|
@@ -10,9 +10,19 @@ export interface VideoEncoderConfig {
|
10
|
10
|
orientationMode: number,
|
11
|
11
|
}
|
12
|
12
|
|
|
13
|
+/**
|
|
14
|
+ * Option is work for init method
|
|
15
|
+ * @property: string appid Sets the appid
|
|
16
|
+ * @property: number channelProfile Sets the channel mode. 0 is communication mode, 1 is broadcasting mode
|
|
17
|
+ * @property: {@link VideoEncoderConfig} sets video encoding config
|
|
18
|
+ * @property: mode is optional sets only enable video / audio, 0 is audio mode, 1 is video mode
|
|
19
|
+ * @property: clientRole is only work in live mode, 1 is host, 2 is audience
|
|
20
|
+ * @property: dualStream is optional parameter only for enable for detail see {@link https://docs.agora.io/en/Video/API%20Reference/oc/Classes/AgoraRtcEngineKit.html#//api/name/enableDualStreamMode:}
|
|
21
|
+ * @property: audioProfile {@link https://docs.agora.io/en/Video/API%20Reference/oc/Constants/AgoraAudioProfile.html}
|
|
22
|
+ * @property: audioScenario {@link https://docs.agora.io/en/Video/API%20Reference/oc/Constants/AgoraAudioScenario.html}
|
|
23
|
+ */
|
13
|
24
|
export interface Option {
|
14
|
25
|
appid: String,
|
15
|
|
- videoProfile: number
|
16
|
26
|
channelProfile: number,
|
17
|
27
|
videoEncoderConfig: VideoEncoderConfig,
|
18
|
28
|
dualStream: boolean,
|