diff --git a/src/common/RtcEngine.native.ts b/src/common/RtcEngine.native.ts index 418684054..a58591e03 100644 --- a/src/common/RtcEngine.native.ts +++ b/src/common/RtcEngine.native.ts @@ -19,6 +19,7 @@ import { LastmileProbeConfig, LiveInjectStreamConfig, LiveTranscoding, + LocalAccessPointConfiguration, LowLightEnhanceOptions, MediaRecorderConfiguration, RhythmPlayerConfig, @@ -3257,8 +3258,8 @@ export default class RtcEngine implements RtcEngineInterface { /** * @ignore */ - setLocalAccessPoint(ips: string[], domain: string): Promise { - return RtcEngine._callMethod('setLocalAccessPoint', { ips, domain }); + setLocalAccessPoint(config: LocalAccessPointConfiguration): Promise { + return RtcEngine._callMethod('setLocalAccessPoint', { config }); } /** @@ -4112,7 +4113,7 @@ interface RtcEngineInterface uploadLogFile(): Promise; - setLocalAccessPoint(ips: string[], domain: string): Promise; + setLocalAccessPoint(config: LocalAccessPointConfiguration): Promise; enableVirtualBackground( enabled: boolean,