Skip to content

Commit

Permalink
fix: Correctly specify custom ICE servers as per peerjs API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
w3yden committed Apr 19, 2023
1 parent 86daa9e commit 7d5426d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/shared/peerjs/PeerInstance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class PeerInstance {
port: configuration.port,
pingInterval: configuration.pingInterval,
secure: configuration.secure,
config: iceConfig});
config: {iceServers: iceConfig}});
this.peer.on('open', this.onPeerServerConnected.bind(this));
this.peer.on('call', this.onPeerRemoteCallAttempt.bind(this));
this.peer.on('error', this.onPeerError.bind(this));
Expand Down

0 comments on commit 7d5426d

Please sign in to comment.