Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-11Send initial screensharing stream to participants that don't publish video.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Need to handle names of participants differently to show a correct avatar.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Periodically send the nick to update the avatar of later joining participants.Joachim Bauch
The nick name below the avatar is distributed through the DataChannel of the PeerConnection and only sent once during establishment. For the MCU case, the sending PeerConnection is created once and then never changed when more participants join. For this, we periodically send the nick to all other participants through the sending PeerConnection. Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Fixes after rebase.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Re-join call if connection to MCU is interrupted.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Update after rebase.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Handle ICE failures when using the MCU.Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Wait for audio/video to be received and simulate "unmute" events.Joachim Bauch
With the MCU, a newly subscribed stream might not get the "audioOn"/"videoOn" messages as they are only sent when a user starts publishing. Instead wait for initial data and trigger events locally. Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-12Start adding MCU support.Joachim Bauch
With an MCU, each client publishes only once (to the MCU) and viewers subscribe the streams from the MCU. This means that for subscribing, the MCU always has to send the "Offer" message which requires some changes in the workflow. Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-07-10Fix name not shown for registered users without microphone nor cameraDaniel Calviño Sánchez
When the peer is a registered user her name is shown when a stream is added for that peer. However, if the peer has no microphone nor camera then no stream is added, and thus the name was not shown. Now the name is shown too when the connection is established to guarantee that it will be shown even if no stream is added. In the case of guest users the name is shown when a stream is added for that peer, but also when a "nickChanged" message is received. That message is sent when the peers are connected, so the name of the guest user was already properly set even if the user has no microphone nor camera. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-06Merge pull request #950 from ↵Ivan Sein
nextcloud/stable13-938-fix-local-audio-and-video-not-disabled-when-not-available [stable13] Fix local audio and video not disabled when not available
2018-06-06Fix local audio and video not disabled when not availableDaniel Calviño Sánchez
When the streams are initialized and there is no audio or no video the "audio/videoNotFound" flag is set. This flag prevents the audio or video from being enabled later, and it is also used to discard calls to "disableAudio/Video", as there would be no need to disable them if they were not found. However, in that last case, it is necessary to explicitly disable them before the flag is set. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-06Add toggle to show and hide video from other participantsDaniel Calviño Sánchez
Before a user could disable her own video, but she had no way to disable the videos from other participants. This could be needed, for example, to alleviate the load on low-end systems, as in that case playing the video from remote participants could be too much for the system. Now a toggle is provided to manually show or hide the video of each remote participant if needed. The toggle is shown only when the remote participant is sending video; if the remote participant has disabled her own video (or does not have a camera) the toggle is hidden. Note that the toggle just shows or hides the HTML video element; it does not notify the remote participant to mute her video or to fully stop sending it. It is purely a local change that does not affect the remote clients. In the future this could be extended to involve the remote clients too, but for now just hiding the HTML video element notably reduces the CPU load in most systems (although unfortunately in some cases it does not). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-06Remove unneeded codeDaniel Calviño Sánchez
The "hidden" CSS class is not used in the avatar container of remote participants (only for the local one), so there is no need to remove it. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-06-06Move code to mute and unmute remote videos to OCA.SpreedMe.videosDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-05-09Reset audio and video control panel.Ivan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-05-09Merge pull request #884 from ↵Ivan Sein
nextcloud/backport/854/join-the-call-after-media-access-was-done [stable13] Join the call only aftrer media access was done
2018-05-09Join the call only aftrer media access was doneJoas Schilling
When we delayed the media access, we were all fast with testing. Before this patch, when there was already at least one user in the call and you took longer to accept the media request than webrtc took to init everything, you would always send a black video signal and no sound, because the data was not there, when connections were established with the other users. Now we first request the media and send the join call to the server afterwards. Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-05-09Unpromote latest speaker if no users remain in call when removing video.Joachim Bauch
If the same user joins the call again, the video would otherwise not be promoted automatically because the id is still stored in `latestSpeakerId`. Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-04-20Allow to join without camera/micJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-18Allow screensharing even when aloneJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-04-18Streamline empty content messagesJoas Schilling
* Show previous message again, after media permissions was requested * Always show message for media permission, not only on first connection Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-23Merge pull request #735 from ↵Ivan Sein
nextcloud/backport/716/disconnect-media-when-leaving-room [stable13] Disconnect media when leaving room
2018-03-22WebRTC doesn't know about "rooms" anymore, their rooms are our callsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-22Simplify guest avatar handlingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-22Update the chat message models when the guest name changesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Only setup webrtc and media when joining a callJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Join room/call connection > signaling > webrtc aswellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Handle leaving call/room connection > signaling > webrtcJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Rename calls to connection and remove static-nessJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Inject the application instead of the signaling and calling the app globallyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Setup signaling outside of webrtcJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-03-19Support connecting without local media (#538).Joachim Bauch
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-02-02Split "room" from "call" when using the standalone signaling server.Joachim Bauch
Clients use the regular joinRoom/-Call API and get a Nextcloud session id. No special handling for sessions from the standalone signaling server are required. The signaling server regularly "pings" active sessions to prevent them from timing out (in case of guest users). Signed-off-by: Joachim Bauch <bauch@struktur.de>
2018-01-26Do not overwrite app-content classes when screensharing is active.Ivan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-16Remove unneeded conditionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-15Store [session -> guest name] table. Used to refresh guest shared screen ↵Ivan Sein
name indicators. Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-15Always send guest name via data channel when connection is established.Ivan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2018-01-08Fix deprecated *-white iconJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-01-08Remove redundantArtur Bergen
Signed-off-by: Artur Bergen <artur.bergen@struktur.de>
2018-01-08Renamed class and refactor codeArtur Bergen
Signed-off-by: Artur Bergen <artur.bergen@struktur.de>
2018-01-08Rebase and fix conflictsArtur Bergen
Signed-off-by: Artur Bergen <artur.bergen@struktur.de>
2017-11-17Additional translation attributesArtur Bergen
2017-11-15Fix slow update of "Join/leave call" buttonDaniel Calviño Sánchez
The button is updated when the model changes, but the model was not being synced when the user joined or left a call, so it only changed when it was synced for any other reason. Fixes #473 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2017-11-03Fix the UI to correctly join the room and the callJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-10-09Fix sidebar overlap in callsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2017-09-08Revert "Actually trigger users{Left,Joined} event"Ivan Sein
2017-08-30Actually trigger users{Left,Joined} eventLeon Klingele
2017-07-19Ignore messages from hark datachannel.Ivan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2017-07-18Fix check if peer already exists.Joachim Bauch