Bladeren bron
Merge pull request #125 from OnurVar/master
Fix TypeScript optional parameter on RtcEngine's options
matrixbirds
4 jaren geleden
bovenliggende
commit
b02c061da0
No account linked to committer's email address
|
@@ -78,8 +78,8 @@ export interface Option {
|
78
|
78
|
appid: String;
|
79
|
79
|
channelProfile: number;
|
80
|
80
|
videoEncoderConfig: VideoEncoderConfig;
|
81
|
|
- dualStream: boolean;
|
82
|
|
- mode: number;
|
|
81
|
+ dualStream?: boolean;
|
|
82
|
+ mode?: number;
|
83
|
83
|
clientRole: number;
|
84
|
84
|
audioProfile: number;
|
85
|
85
|
audioScenario: number;
|
|
@@ -83,8 +83,8 @@ export interface Option {
|
83
|
83
|
appid: String,
|
84
|
84
|
channelProfile: number,
|
85
|
85
|
videoEncoderConfig: VideoEncoderConfig,
|
86
|
|
- dualStream: boolean,
|
87
|
|
- mode: number,
|
|
86
|
+ dualStream?: boolean,
|
|
87
|
+ mode?: number,
|
88
|
88
|
clientRole: number,
|
89
|
89
|
audioProfile: number,
|
90
|
90
|
audioScenario: number,
|