Skip to content

Commit

Permalink
Fix call state audio not stopping, fixes #953
Browse files Browse the repository at this point in the history
  • Loading branch information
tmolitor-stud-tu committed Oct 7, 2023
1 parent a940377 commit 0039e1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Monal/Classes/AVCallUI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,9 @@ struct AVCallUI: View {
.onDisappear {
//allow all orientations again
self.appDelegate.orientationLock = .all
ringingPlayer.stop()
busyPlayer.stop()
errorPlayer.stop()
}
.onChange(of: MLCallState(rawValue:call.state)) { state in
DDLogVerbose("state changed: \(String(describing:call.state as NSNumber))")
Expand Down

0 comments on commit 0039e1c

Please sign in to comment.