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

Commit

Permalink
Change ts-client-sdk to branch debug_reconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
Rados13 committed Jun 21, 2024
1 parent 57fd63b commit 27c7845
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion assets/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"dependencies": {
"@fishjam-dev/react-client": "github:fishjam-dev/react-client-sdk#reconnet-on-network-change",
"@fishjam-dev/ts-client": "github:fishjam-dev/ts-client-sdk#debug_reconnect",
"@mediapipe/tasks-vision": "^0.10.12",
"axios": "^1.6.8",
"chartist": "^1.3.0",
Expand Down
4 changes: 2 additions & 2 deletions assets/src/fishjam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export const {
peerMetadataParser: (obj) => peerMetadataSchema.parse(obj),
trackMetadataParser: (obj) => trackMetadataSchema.parse(obj),
reconnect: {
initialDelay: 500, // ms
delay: 500, // ms
initialDelay: 2_000, // ms
delay: 1_000, // ms
maxAttempts: 1000,
addTracksOnReconnect: true
}
Expand Down

0 comments on commit 27c7845

Please sign in to comment.