Skip to content

Commit

Permalink
hangup. Missing store update if user quicly close call (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyco97 authored Nov 4, 2024
1 parent 642dba3 commit 2fb3c36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/WebRTC.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,8 @@ export const WebRTC: FC<WebRTCProps> = ({
// })
// dispatch.player.playAudio()
// }
// Reset current call info
store.dispatch.currentCall.reset()
if (janus.current.log)
janus.current.log(
'Call hung up (' + result['code'] + ' ' + result['reason'] + ')!',
Expand Down

0 comments on commit 2fb3c36

Please sign in to comment.