Commit 9303ff5
committed
fix(voip): tag OS-originated end events as 'remote' in MediaCallEvents
The CallKit/Telecom endCall listener fires when the OS terminates the call,
not when the user presses the in-app end button. The previous code delegated
to mediaSessionInstance.endCall(), which always tagged the reason as 'local'.
Now dispatches callLifecycle.end('remote') directly so the callEnded event
carries the correct reason. MediaSessionInstance.endCall remains the 'local'
(in-app button) path called from CallView.1 parent 44d741b commit 9303ff5
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
91 | | - | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
0 commit comments