jiti-meet/react/features/mobile/callkit
Saúl Ibarra Corretgé 47aa14e9f6 [iOS] Fix syncing muted state with CallKit
Fix the "mute ping pong" for once and for all. This patch takes a new approach
to the problem: it keeps track of the user generated CallKit transaction ations
and avoids calling the delegate method in those cases.

This results in a much cleaner and easier to understand handling of the flow: if
the delegate method is called it means the user tapped on the mute button. When
we sync the muted state in JS with CallKit the delegate method won't be called
at all, thus avoiding the ping-pong altogether.

In addition, make sure all CallKit methods run in the UI thread. CallKit will
call our delegate methods in the UI thread too, thsu there is no need to
synchronize access to the listener / pending action sets.
2018-06-22 11:25:09 +02:00
..
CallKit.js [iOS] Add initial CallKit support 2017-09-29 12:00:13 -05:00
CallKitIcon.png [iOS] Add icon for CallKit in-call UI 2017-10-11 09:15:44 -05:00
actionTypes.js [iOS] Add initial CallKit support 2017-09-29 12:00:13 -05:00
index.js [iOS] Add initial CallKit support 2017-09-28 16:36:39 -05:00
middleware.js [iOS] Fix syncing muted state with CallKit 2018-06-22 11:25:09 +02:00
reducer.js [iOS] Add initial CallKit support 2017-09-29 12:00:13 -05:00