Skip to content

Commit

Permalink
chore(example): update webrtc example
Browse files Browse the repository at this point in the history
  • Loading branch information
unadlib committed Jan 1, 2025
1 parent a8ccd8a commit 6607495
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/webrtc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const init = () => {
const peer = new SimplePeer({
initiator: true,
trickle: false,
config: {
iceServers: [],
}
});

peer.on('signal', (data) => {
Expand Down
3 changes: 3 additions & 0 deletions examples/webrtc/src/other.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ const init = () => {
const peer = new SimplePeer({
initiator: false,
trickle: false,
config: {
iceServers: [],
}
});

peer.on('signal', (data) => {
Expand Down

0 comments on commit 6607495

Please sign in to comment.