Skip to content

Commit

Permalink
fix: change checking to connecting in examples (#28086)
Browse files Browse the repository at this point in the history
  • Loading branch information
kemilbeltre authored Jul 20, 2023
1 parent 6c7cb93 commit 62dbbba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ peerConnection.addEventListener(
(event) => {
switch (peerConnection.connectionState) {
case "new":
case "checking":
case "connecting":
setOnlineStatus("Connecting…");
break;
case "connected":
Expand Down Expand Up @@ -68,7 +68,7 @@ You can also create a handler for the `connectionstatechange` event using the `R
peerConnection.onconnectionstatechange = (ev) => {
switch (peerConnection.connectionState) {
case "new":
case "checking":
case "connecting":
setOnlineStatus("Connecting…");
break;
//
Expand Down

0 comments on commit 62dbbba

Please sign in to comment.