Skip to content

Commit

Permalink
fix(webrtc): Stop ringback tone when call is hung up (#406)
Browse files Browse the repository at this point in the history
WEBRTC-2443: Added stopRingback() call in hangup function to ensure
ringback tone is stopped when the call ends. This fixes the issue
where the ringback tone would continue playing after hanging up.

Co-authored-by: openhands <[email protected]>
  • Loading branch information
ai-swe-agent and openhands-agent authored Jan 17, 2025
1 parent f74b5b3 commit 44cf488
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/js/src/Modules/Verto/webrtc/BaseCall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ export default abstract class BaseCall implements IWebRTCCall {
};

this.stopRingtone();
this.stopRingback();
if (execute) {
const bye = new Bye({
sessid: this.session.sessionid,
Expand Down

0 comments on commit 44cf488

Please sign in to comment.