Skip to content

Commit

Permalink
fix: setLocalAccessPoint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Apr 27, 2022
1 parent 51b452d commit f299530
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/common/RtcEngine.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
LastmileProbeConfig,
LiveInjectStreamConfig,
LiveTranscoding,
LocalAccessPointConfiguration,
LowLightEnhanceOptions,
MediaRecorderConfiguration,
RhythmPlayerConfig,
Expand Down Expand Up @@ -3257,8 +3258,8 @@ export default class RtcEngine implements RtcEngineInterface {
/**
* @ignore
*/
setLocalAccessPoint(ips: string[], domain: string): Promise<void> {
return RtcEngine._callMethod('setLocalAccessPoint', { ips, domain });
setLocalAccessPoint(config: LocalAccessPointConfiguration): Promise<void> {
return RtcEngine._callMethod('setLocalAccessPoint', { config });
}

/**
Expand Down Expand Up @@ -4112,7 +4113,7 @@ interface RtcEngineInterface

uploadLogFile(): Promise<string>;

setLocalAccessPoint(ips: string[], domain: string): Promise<void>;
setLocalAccessPoint(config: LocalAccessPointConfiguration): Promise<void>;

enableVirtualBackground(
enabled: boolean,
Expand Down

0 comments on commit f299530

Please sign in to comment.