talk-android/app/src/main/java/com/nextcloud/talk
Daniel Calviño Sánchez 65ff4efcb9
Send signaling messages directly from PeerConnectionWrapper
Note that the thread used to send the message does not change; the
EventBus subscriber mode was "BACKGROUND", but as the messages were
posted from a WebSocket handler (when requesting offers to the HPB) and
peer connection observers (when sending offers/answers and candidates,
both with and without HPB), which run in worker threads rather than in
the main thread, the subscriber was executed in the same thread as
the poster.

For legacy reasons, when the internal signaling server is used the
offers and answers are expected to also provide the nick of the local
participant. When the external signaling server is used the field can be
included, but it is just ignored and not sent to the other clients. As
the local participant nick is a value unrelated to the peer connection
and is only needed with one type of signaling server the messages are
adjusted as needed before being sent rather than handling this inside
the PeerConnectionWrapper.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-12-27 14:28:57 +01:00
..
activities Send signaling messages directly from PeerConnectionWrapper 2022-12-27 14:28:57 +01:00
adapters Implement hasCode based on equals() elements to fullfil hasCode/equals contract 2022-12-19 09:37:01 +01:00
api improve fetching of user statuses in conversation list 2022-10-13 12:12:47 +02:00
application Migrate to emoji2 2022-12-07 15:59:01 +01:00
arbitrarystorage Migrate AccountRemovalWorker from requery to room 2022-07-23 14:29:41 +02:00
callbacks Replace Fresco with Coil 2022-12-07 13:45:42 +01:00
components/filebrowser Migrate to new current user provider 2022-07-23 16:33:45 +02:00
controllers avoid NPE in processAutocompleteUserList 2022-12-23 11:16:53 +01:00
conversation/info Fix wrong guests access option status 2022-09-27 13:07:47 +02:00
dagger/modules RepositoryModule: fix wrong injection for dateUtils 2022-12-19 17:35:19 +01:00
data PushUtils: update only pushState when updating users 2022-12-15 13:11:40 +01:00
events Send signaling messages directly from PeerConnectionWrapper 2022-12-27 14:28:57 +01:00
extensions Replace Fresco with Coil 2022-12-07 13:45:42 +01:00
interfaces Migrate dialogs on ConversationList to Material3 2022-08-18 13:40:09 +02:00
jobs Migrate to emoji2 2022-12-07 15:59:01 +01:00
messagesearch bump compileSdkVersion to 32 2022-11-16 11:15:21 +01:00
models Use generic message rather than specific one for requesting offers 2022-12-27 14:28:56 +01:00
polls Replace Fresco with Coil 2022-12-07 13:45:42 +01:00
presenters remove any use of org.jetbrains.annotations.NotNull 2022-10-11 12:47:45 +02:00
receivers DirectReplyReceiver: fetch avatar in background 2022-12-07 13:46:02 +01:00
remotefilebrowser pass DateUtils instance to viewHolder 2022-12-15 08:33:10 +01:00
repositories react to given reactions inside message 2022-12-02 14:53:45 +01:00
shareditems Localize time formatting 2022-12-15 08:33:05 +01:00
signaling Extract interface to send signaling messages 2022-12-27 14:28:57 +01:00
ui remove unneeded class cast 2022-12-15 13:23:06 +01:00
upload use listOf instead Arrays.asList 2022-10-28 16:03:53 +02:00
users ensure that there is always a current user 2022-12-15 13:11:41 +01:00
utils Remove no longer needed code after removing EventBus message 2022-12-23 20:44:41 +01:00
webrtc Send signaling messages directly from PeerConnectionWrapper 2022-12-27 14:28:57 +01:00