Commit graph

1938 commits

Author SHA1 Message Date
Tobias Kaminsky
0a49c9dc40
Merge pull request #912 from nextcloud/chatDuringCall
Chat during call
2020-10-13 13:23:12 +02:00
tobiasKaminsky
f7d9290871
Chat during call
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-09 12:08:21 +02:00
Biswajit Das
518d1ea62e
Merge pull request #905 from nextcloud/fix-frozen-video-when-screen-is-shared
[v8.0.x] Fix frozen video when screen is shared
2020-10-03 00:00:47 +01:00
Biswajit Das
4f83d47f51
Merge pull request #904 from nextcloud/fix-some-issues-related-to-guest-participants
[v8.0.x] Fix some issues related to guest participants
2020-10-02 23:50:27 +01:00
Daniel Calviño Sánchez
1321cb21a0 Fix frozen video when screen is shared
When another participant shared the screen a new offer was requested.
However, the offer was requested for the video instead of for the
screen, which caused the HPB to stop the previous video connection and
replace it with a new one. As receiving new offers for an existing
connection is not properly handled the offer was applied to the existing
peer connection, which caused the new offer to be ignored and the old
peer connection to be kept (but frozen due to the HPB not sending more
data for that connection).

Requesting offers are not needed when the peer connection is a screen,
as the HPB will automatically send the offers itself. Therefore, now
offers are requested only when the connection is of "video" type.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 10:10:49 +02:00
Daniel Calviño Sánchez
ed8ac14d94 Show avatar for guests in call view
The avatar of guests is based on their display name/nick.

When the HPB is not used the nick is provided in the offer/answer
signaling messages, and later updated through data channel messages when
it changes. When the HPB is used the nick is periodically sent through
data channel messages. Therefore the avatar is based on the nick set in
the peer connection and reloaded when the nick changes (although it is
currently a bit hacky and brittle, as it is based on whether the nick
shown in the text view changed rather than whether the nick itself
changed, but it works nevertheless).

Note that currently it is required that the guest has a peer connection
to know its nick and, therefore, its avatar; some changes would be
needed in the clients to also send the nick when there is no peer
connection.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 09:11:16 +02:00
Daniel Calviño Sánchez
783f09316f Remove no longer used method
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 20:34:48 +02:00
Daniel Calviño Sánchez
8f748caeaa Remove no longer needed parameter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:18:20 +02:00
Daniel Calviño Sánchez
6b2720653a Always pass the session id in "NICK_CHANGE" PeerConnectionEvents
Before the NICK_CHANGE event include either the session id or the user
id, depending on whether the participant was a guest or a user. However,
as the session id is also known for users the event can be unified to
always include the session id only.

This also fixes an exception when handling the "NICK_CHANGE" event, as
the session id was got from the user id given in the event, but if the
event already included the session id the look up failed and the session
id was replaced with an empty value. This in turn caused an exception
when trying to use the view for the now invalid session id. Now the
session id provided in the event is always directly used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:07:25 +02:00
Daniel Calviño Sánchez
5b9f02e99c Fix setting guest nicks
The "nick" attribute was set with itself instead of with the
"internalNick" variable that holds the value received in the
"nickChanged" event.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:00:07 +02:00
Daniel Calviño Sánchez
6846eb950b Fix websocket reconnection when a guest joins the conversation
When the standalone signaling server is used and a participant joins a
conversation a "join" signaling message is received. The code assumed
that the event always contains a "user" attribute, but that attribute is
empty for guests. As the "user" attribute was used unconditionally this
caused an exception, and as the exception happened when handling a
websocket message it propagated until it caused a reconnection of the
websocket.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 18:45:16 +02:00
tobiasKaminsky
93c12a89de
change version number for 8.0.10
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 10:07:13 +02:00
Tobias Kaminsky
acaea2bf94
Merge pull request #902 from nextcloud/8.0.10release
Bump to 8.0.10
2020-09-29 09:47:26 +02:00
tobiasKaminsky
f004c23526
Bump to 8.0.10
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 09:44:31 +02:00
Tobias Kaminsky
5fdbeb5f5c
Merge pull request #901 from nextcloud/fixJoin
Fix join call directly after first start
2020-09-29 09:41:21 +02:00
tobiasKaminsky
6d7cf8305a
Fix join call directly after first start
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 09:40:46 +02:00
Mario Danic
ac1bb0ecf7
Fix spamming participants
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-04-15 12:02:56 +02:00
Mario Danic
b14f9990b4
Fix #761
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-23 14:16:26 +01:00
Mario Danic
4b12ede79e
Fix duplicate
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:43:55 +01:00
Mario Danic
84cb7cc45a
Fix timeout stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:26:16 +01:00
Mario Danic
68c1cd6d4d
Fix #684
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 11:19:54 +01:00
Mario Danic
53cc5d28c4
Fix vibration again
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 18:28:25 +01:00
Mario Danic
06b4d09dc3
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 16:27:34 +01:00
Mario Danic
408da749fe
Fix vibration and fix #745
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 16:26:03 +01:00
Stephan Ritscher
5a1e050928 Fix NullPointerException on (first) account creation with client certificates (#195)
Signed-off-by: Stephan Ritscher <no3pam@gmail.com>
2020-03-08 20:42:54 +01:00
Mario Danic
39c2dced64
Fix #713, Fix #720
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-12 10:57:35 +01:00
Mario Danic
9e2fbc076c
First step towards working calls on Q
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-10 00:33:41 +01:00
Mario Danic
6e7637af43
Fix #713
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-05 15:57:41 +01:00
Mario Danic
f115b83607
Fix #716
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-03 11:05:40 +01:00
Mario Danic
8dde1bcdae
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-24 09:12:10 +01:00
Mario Danic
7656f30eb4
Fix #713
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-24 09:11:37 +01:00
Mario Danic
c4eaf319a1
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:12:40 +01:00
Mario Danic
4b9f47c6b5
Improve contacts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:11:16 +01:00
Mario Danic
74fb018a8e
Fix #706
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 03:20:00 +01:00
Mario Danic
fbbcb92ec8
Fix #707
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 15:17:29 +01:00
Mario Danic
1e2ae2c8b0
Fix #704
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 13:48:04 +01:00
Mario Danic
85b98e2b15
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:46:12 +01:00
Mario Danic
0451131fa4
Fix #692
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:42:52 +01:00
Mario Danic
a2209e3d6a
Fix #701
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:37:18 +01:00
Mario Danic
652b72ebde
Fix #702
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:25:15 +01:00
Mario Danic
0ac50073fa
Update version code for real
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 14:36:27 +01:00
Mario Danic
46bc77bc2e
Update version code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 14:30:29 +01:00
Mario Danic
5262d08e3c
Fix avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:41:38 +01:00
Mario Danic
d166276b80
Improvements to replies
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:36:52 +01:00
Mario Danic
b36c70b783
Updates
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:08:00 +01:00
Mario Danic
d21d5f51b4
Implemented most of message replies
# Conflicts:
#	app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
#	app/src/main/res/layout/view_message_input.xml
#	app/src/main/res/values/strings.xml
2020-01-13 12:07:32 +01:00
Mario Danic
2613c1f074
Some progress on replies
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 11:15:20 +01:00
Mario Danic
0613254e08
Update modules
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 09:55:27 +01:00
Mario Danic
f6066a6b28
Update stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 09:49:51 +01:00
Mario Danic
87e71b6d89
Fix #655 2020-01-13 09:49:40 +01:00