Skip to content

Commit

Permalink
Fix iceServers config
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron7 committed Jun 3, 2024
1 parent 12421e1 commit 2117881
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/collab.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const createWebrtcProvider = (session: Session, isHost: boolean) => {
password: session.secret,
peerOpts: {
config: {
...(iceServersJson ? JSON.parse(iceServersJson) : {}),
...(iceServersJson ? { iceServers: JSON.parse(iceServersJson) } : {}),
},
},
signaling: [signalingServerUrl || 'ws://localhost:4444'],
Expand Down

0 comments on commit 2117881

Please sign in to comment.