[+] KMS配置

This commit is contained in:
acgist
2022-12-02 08:45:44 +08:00
parent 90870f997f
commit 4a0e1ebbc7
7 changed files with 146 additions and 48 deletions

View File

@@ -550,7 +550,7 @@ function Taoyao(
/** WebRTC配置 */
this.configWebrtc = function(config = {}) {
this.webrtc = config;
this.webSocket = this.webrtc.signalAddress;
this.webSocket = this.webrtc.signal.address;
defaultRPCConfig.iceServers = this.webrtc.stun.map(v => ({'urls': v}));
console.debug('WebRTC配置', this.webrtc, defaultRPCConfig);
return this;