Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Amy Gleixner authored Dec 19, 2020
1 parent dbcedd3 commit 7c8bcea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ Before starting this codelab, make sure that you've installed:
This function does two main things.
* collects ICE candidates from the WebRTC API and adds them to the database
* listens for added ICE candidates from the remote peer and adds them to its `RTCPeerConnection` instance.

It is important when listening to database changes to filter out anything that isn't a new addition, since we otherwise would have added the same set of ICE candidates over and over again.

Complete this step by uncommenting the calls to this function in both the `joinRoomById` and `createRoom` methods; you can find them after `// Uncomment to collect ICE candidates below`.
Expand Down

0 comments on commit 7c8bcea

Please sign in to comment.