Stop ring sound after outgoing call has been accepted.

This commit is contained in:
aforge
2022-06-04 21:49:01 +03:00
parent 4e720a0d5b
commit fd1c13830c
7 changed files with 61 additions and 92 deletions
+1
View File
@@ -91,6 +91,7 @@ class CallPanel extends React.PureComponent {
}
handleVideoCallAccepted(info) {
RING_SOUND.pause();
const pc = this.createPeerConnection();
const stream = this.state.localStream;
stream.getTracks().forEach(track => {