Commit Graph

15 Commits

Author SHA1 Message Date
Daniel Calviño Sánchez
4457e92504 Generalize PUBLISHER_FAILED event
Rather than emitting PUBLISHER_FAILED when the publisher connection
fails now PEER_FAILED is emitted when any connection fails, and the
handler checks if the connection was the publisher one to apply the
specific behaviour.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-12-28 15:48:45 +01:00
Daniel Calviño Sánchez
dceb4a6d79 Add listener for data channel messages
For now only the same data channel messages that were already handled
are taken into account, but at a later point the missing messages
("speaking" and "stoppedSpeaking") could be added too.

Note that the thread used to handle the data channel messages has
changed; the EventBus subscriber mode was "MAIN", but as the messages
were posted from a DataChannel 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 11:47:55 +01:00
Daniel Calviño Sánchez
9f445efc1c Post event when a participant is connected and disconnected
RTCPeerConnections have several states but, for simplicity, for now the
events posted reflect only if the connection is fully established or
not (which includes both a broken connection or an established
connection that is unstable or being updated), which is enough for a
basic information about the connection state in the UI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-09-18 23:25:57 +02:00
Andy Scherzinger
b350a4c86e
remove default constructors (generated by the compiler) and simplify if-statements of equals-methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 16:37:57 +02:00
Andy Scherzinger
61aaae4dc2
Update code base for Android Studio 4.1.3
Remove lombock @Data annotations
Replace FindBugs with SpotBugs
Update Lombock version

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 00:46:35 +02:00
Mario Danic
6ce0d53412 Fix nick & some reconnection
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 10:17:08 +02:00
Mario Danic
ed7cd1b788 Add screensharing support
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-07 02:17:47 +01:00
Mario Danic
ce5f1706b9 Clean ups & More progress towards #206 2018-10-23 21:46:22 +02:00
Mario Danic
bd2820c90e First step to AndroidX migration 2018-10-02 22:34:00 +02:00
Mario Danic
f2aee50a74 Reworked UI & Voice-only calls
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-05-10 14:42:11 +02:00
Mario Danic
82e5d69000 Fix #38
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 03:17:11 +01:00
Mario Danic
bc7d2f9f71 Fix #23 and a few other bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-19 17:19:36 +01:00
Mario Danic
c445edaa6e Change color for providers text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-18 23:31:18 +01:00
Mario Danic
fdaa69f489 Magical sensor stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-09 20:11:51 +01:00
Mario Danic
26eb025c28 Done
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-03 15:18:15 +01:00