Граф коммитов

64 Коммитов

Автор SHA1 Сообщение Дата
Ivan Sein 986e2db3f6 Correctly leave call and room before switching to another call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2023-02-02 18:01:19 +01:00
Ivan Sein e73bbc9ad0 Change audio mute in callkit when creating local audio track.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2023-02-02 17:59:39 +01:00
Ivan Sein cfb43ba6a8 Get audio and video state before stopping call controller.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2023-02-02 17:59:39 +01:00
Ivan Sein b6112db73c Process "switchto" signaling message.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2023-02-02 17:59:39 +01:00
Ivan Sein 4641f79362 Allow to switch from a call to a breakout room call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2023-02-02 17:59:39 +01:00
Marcel Müller 190d74b174 Use dedicated dispatch queue for webrtc related methods
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-31 20:10:57 +01:00
Marcel Müller 0bbf2e1baf Use peerConectionFactory from WebRTCCommon
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-19 22:47:05 +01:00
Marcel Müller 71da2e20a6 Adjust recording support to latest changes in the backend
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-19 11:24:57 +01:00
Ivan Sein 6eca751779
Merge pull request #997 from nextcloud/recording-v1-support
Recording v1 support
2023-01-19 10:03:01 +01:00
Ivan Sein 0c7bd30dce Do not create publisher peer connection when no media is going to be sent.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2023-01-18 17:19:58 +01:00
Marcel Müller f3d34db30d Process recording signaling messages
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-17 12:27:31 +01:00
Marcel Müller b89a2363a6 Add new callview layout and recording support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-17 12:27:31 +01:00
Marcel Müller bac0653839 Decrease the amount of log messages
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-01-14 23:06:38 +01:00
Ivan Sein 6c9ca5cf1f Allow to start calls silently (without notification).
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-06-27 18:10:33 +02:00
Ivan Sein 719733bd56 Remove unnecessary explicit mention of self.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-05-19 15:22:33 +02:00
Ivan Sein e9fbace645 Wait until we detect that user in no longer in the call in userInRoom to rejoin the call when using internal signaling.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-05-19 14:54:23 +02:00
Ivan Sein 3fae00cbf7 Just check if there is already a publisher PC in createPublisherPeerConnection and do not close and create another if that's the case.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-05-17 16:58:29 +02:00
Ivan Sein b156541583 Clear local audio and video streams on createLocalMedia.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-05-17 13:24:56 +02:00
Ivan Sein 9ff124cab5 Detect when user is in call in usersInRoom to start processing other users in call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-05-16 20:33:18 +02:00
Ivan Sein 0c1465150f Remove warnings.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-05-13 17:07:51 +02:00
Ivan Sein c377002cb5 Handle update all participants "inCall" flag message.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-03-25 14:35:51 +01:00
Ivan Sein 9dbf3bb70d
Merge pull request #735 from nextcloud/change-audio-route
Allow to select audio route
2022-02-28 17:10:24 +01:00
Ivan Sein 522c5555ae Add posibility to start call with audio session in voice chat mode.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-23 22:39:07 +01:00
Ivan Sein bbfba6bc47 Do not use addStream as it is not allowed when using Unified Plan.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-18 12:16:38 +01:00
Ivan Sein c17c7959c4 Rename description variable.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-18 10:41:33 +01:00
Ivan Sein e450c054cd Rename publisher peer related code.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-17 19:04:27 +01:00
Ivan Sein 78b1cba156 Fix capability check for conversation permissions.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-04 11:46:24 +01:00
Ivan Sein e9441912c0 Fix pending offers check.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-02-03 21:00:51 +01:00
Ivan Sein a0f4809b4a Differentiate video/screen peers when ice connection fails.
Also added a timer to request new offers.

Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-26 18:13:45 +01:00
Ivan Sein 511271e493 Clean peer connections correctly depending on room type.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-25 20:04:44 +01:00
Ivan Sein 45cb7005d4 Specify when to create a peer connection.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-25 17:45:28 +01:00
Ivan Sein 006323e574 Check for PublishingPermissions capability.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-25 16:32:58 +01:00
Ivan Sein 70c5eec4ec Remember current audio and video status before rejoin the call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-21 18:15:41 +01:00
Ivan Sein 99597555cb Retry and notify if rejoin call fails.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-21 13:54:40 +01:00
Ivan Sein 2b3d578fe7 Rejoin call correctly when permissions changed using internal signaling.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-21 13:32:02 +01:00
Ivan Sein 73df4f0ad2 Enable/Disable microphone and camera buttons depending on user permissions.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-20 18:02:40 +01:00
Ivan Sein a1fffd7499 Move local video capturer to call controller.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-19 15:30:21 +01:00
Ivan Sein a04262c5f9 Check if user permissions change during the call.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-14 20:30:12 +01:00
Ivan Sein 24f71f1224 Set inCall flags and create local media stream depending on user permissions.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-14 18:36:45 +01:00
Ivan Sein 7e3183ca5d Handle Mute, Unmute and NickChanged signaling messages.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-10 19:58:00 +01:00
Ivan Sein 0bd4b6950b Only request offer if user is sharing audio or video streams (when using MCU).
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2022-01-04 14:15:03 +01:00
Ivan Sein ae628c6466 Store usersInRoom complete info (not only sessions).
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-12-13 21:54:44 +01:00
Ivan Sein fd833a761e Always create a peer connection so it is added to the call view.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-12-13 21:54:44 +01:00
Ivan Sein b4514d4a95
Merge pull request #686 from nextcloud/early-displayname
Try to get displayName as early as possible
2021-12-13 21:53:27 +01:00
Marcel Müller 3779368eea Don't fallback to userId in case we can't retrieve the display name on peer init
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-12-13 21:46:01 +01:00
Ivan Sein 22ff9e04e5 Do not notify CallViewController about changes in publisher peer connection.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-12-06 18:34:42 +01:00
Marcel Müller 40d780e73c Try to get displayName as early as possible
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-12-03 13:33:36 +01:00
Marcel Müller 47bf3ebba5 Add all peers as participants, even if they don't publish streams
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2021-12-03 05:27:09 +01:00
Ivan Sein 8945fc17c8 Handle "End meeting for all" case.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-11-18 17:46:08 +01:00
Ivan Sein 1d13465d94 Imports clean-up and sorting.
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2021-05-27 16:08:41 +02:00