Skip to content

Commit

Permalink
fix(watchrtc) fix consecutive call issue
Browse files Browse the repository at this point in the history
* update watchrtc-sdk version to 1.38.2

* remove persistentEnd call to fix ws socket connect/disconnect when conducting consecutive calls.

Co-authored-by: Subham Sinha <[email protected]>
  • Loading branch information
subhamcyara and subhamusinha authored Mar 21, 2024
1 parent d133343 commit bfbc99b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion modules/watchRTC/WatchRTC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class WatchRTCHandler {
if (this.options) {
this.options.rtcRoomId = this.options.rtcRoomId ? this.options.rtcRoomId : roomName;
this.options.rtcPeerId = this.options.rtcPeerId ? this.options.rtcPeerId : userName;
watchRTC.persistentEnd();
watchRTC.setConfig(this.options);
logger.info('WatchRTC setConfig.');
}
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@jitsi/logger": "2.0.2",
"@jitsi/rtcstats": "9.7.0",
"@jitsi/sdp-interop": "git+https://github.com/jitsi/sdp-interop#3d49eb4aa26863a3f8d32d7581cdb4321244266b",
"@testrtc/watchrtc-sdk": "1.36.3",
"@testrtc/watchrtc-sdk": "1.38.2",
"async-es": "3.2.4",
"base64-js": "1.3.1",
"current-executing-script": "0.1.3",
Expand Down

0 comments on commit bfbc99b

Please sign in to comment.