nextcloud-talk-android/app/src/main
Daniel Calviño Sánchez 04f1679e2a Add observer for peer connections
The observer is just an adapter for the "PeerConnection.Observer"
provided by the WebRTC library; a custom observer is used to expose only
the events needed outside "PeerConnectionWrapper".

For now only the same events that were already handled are taken into
account, but at a later point additional events (like "onAddTrack"
instead of "onAddStream", which is deprecated) could be added too.

Note that the thread used to handle the events has changed; the EventBus
subscriber mode was "MAIN", but as the events were posted from a
PeerConnection observer, which run in a worker thread rather than in the
main thread, the subscriber was executed in the main thread rather than
in the same thread as the poster. Due to this the actions performed by
the handler now must be explicitly run in the main thread.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-12-28 15:48:45 +01:00
..
assets open geolink on click + minor refactoring 2021-06-11 10:21:40 +02:00
java Add observer for peer connections 2022-12-28 15:48:45 +01:00
res Fix(l10n): 🔠 Update translations from Transifex 2022-12-27 07:13:47 +00:00
AndroidManifest.xml Like Android Files we should rely on generic camera feature, but not required. 2022-10-03 08:36:45 +00:00
ic_launcher-web.png update launcher icon to latest design 2021-03-26 11:49:01 +01:00