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

11365 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 48e271af24
Bump @nextcloud/axios from 1.7.0 to 1.8.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.7.0...v1.8.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/axios"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 02:04:05 +00:00
Joas Schilling 8ff81d01d1
Merge pull request #6613 from nextcloud/feature/implement-tests-on-command-create-room
Implement tests on command create room
2021-11-26 11:09:07 +01:00
Nextcloud bot a80083bd0e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 03:36:08 +00:00
Vitor Mattos 7a54c4d104
Cover return token test
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-11-25 16:37:14 -03:00
Joas Schilling 82d4c57661
Merge pull request #6617 from nextcloud/changelog/13.0.0-rc.4
Add changelog for 13.0.0-rc.4
2021-11-25 14:52:42 +01:00
Joas Schilling 0561d072cf
Add changelog for 13.0.0-rc.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 14:31:03 +01:00
Joas Schilling bfad1ac1be
Merge pull request #6605 from nextcloud/fix-pending-device-not-requested-once-current-request-finishes
Fix pending device not requested once current request finishes
2021-11-25 12:16:45 +01:00
Daniel Calviño Sánchez 7d9ec1e101
Fix pending device not requested once current request finishes
The changed device id handler expects the MediaDevicesManager and the
device id, but only the device id was given.

As the method was recursively called from the handler of the previous
"getUserMedia" promise trying to access "getUserMedia()" on a string
failed silently; the error was caught by the rejected promise handler
and the output track was stopped and removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-25 12:10:28 +01:00
marco 449260f943 Only call getParticipants methods once in group conversations
Signed-off-by: marco <marcoambrosini@pm.me>
2021-11-25 12:09:31 +01:00
Joas Schilling 2a6abc446d
Merge pull request #6612 from nextcloud/bugfix/6610/correctly-populate-the-modal-with-default-permissions
Correctly populate the modal with default permissions
2021-11-25 11:52:49 +01:00
Joas Schilling 6172d1d4c5
Add a test for the default handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 11:40:57 +01:00
marco 1f4f5a31ee Show offline state
Signed-off-by: marco <marcoambrosini@pm.me>
2021-11-25 11:30:14 +01:00
Vitor Mattos 2ab6fa13b1
Removed: when InputOption::VALUE_NONE the value will be bool
https://symfony.com/doc/current/console/input.html

Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-11-25 07:14:45 -03:00
Joas Schilling 5ef31c4c11
Enable the form button based on the options that we display at the moment
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 10:55:53 +01:00
Joas Schilling 4d6b2a241d
Correctly fall back when default permissions are used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 10:55:34 +01:00
Joas Schilling 63ea703b45
Merge pull request #6603 from nextcloud/feature/return-room-token
Return room token
2021-11-25 10:19:52 +01:00
Joas Schilling 7e0370215a
Merge pull request #6604 from nextcloud/fix-automatic-removal-of-streams-when-ended
Fix automatic removal of streams when ended
2021-11-25 10:08:42 +01:00
marco c6a9b1e202 Move getParticipants logic to a mixin
Signed-off-by: marco <marcoambrosini@pm.me>
2021-11-25 10:02:56 +01:00
Daniel Calviño Sánchez 74467dc748
Fix automatic removal of streams when ended
The parameter given to the "ended" event handler emitted by
MediaStreamTracks is not the track itself, but an "Event" object. Due
to this the handler parameter never matched with the known tracks, so
ended tracks were not automatically removed.

In some cases (when emitted from the MediaStreamTrack due to limitations
in the Event API) the "ended" event may not contain the track that it
refers to. Therefore, rather than a single handler for all the tracks
each track needs its own handler explicitly associated with the track.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-25 09:33:56 +01:00
Nextcloud bot 6a095b04d8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 03:15:04 +00:00
Vitor Mattos 5808f8b645
Return room token
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-11-24 12:14:53 -03:00
Joas Schilling c7e396e16d
Merge pull request #6598 from nextcloud/fix-media-never-requested-again-when-changing-again-to-current-device
Fix media never requested again when changing again to current device
2021-11-24 11:53:21 +01:00
Joas Schilling f4aaf787a1
Merge pull request #6599 from nextcloud/make-background-blur-proportional-to-the-input-video-size
Make background blur proportional to the input video size
2021-11-24 10:33:51 +01:00
Daniel Calviño Sánchez 1ca2810a01
Make background blur proportional to the input video size
The blur value was a fixed value that did not change depending on the
input video size. Due to this the background of lower resolution videos
looked more blurry than the background of higher resolution videos, and
this was specially noticeable when the same video changed its
resolution. Now the blur is proportional to the input video size, so the
blurred background always looks the same even if the resolution changes
(provided the same aspect ratio is kept between the different
resolutions).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-24 08:55:13 +01:00
Nextcloud bot 7d08bed74a
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 03:15:41 +00:00
Daniel Calviño Sánchez 43609c705a Fix media never requested again when changing again to current device
When the MediaDevicesSource node is active and a media device changes
the current stream is replaced by a stream from the new selected device.
This is an asynchronous operation, so changing the stream again on
further device changes is deferred until the previous one finished.

However, when the changed device was the same as the current device
(which should not happen, although it could potentially happen with a
specific sequence of "devicechange" events emitted by the browser) the
pending request count was not cleared and thus any further device change
was ignored until the page was reloaded.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-23 20:03:15 +01:00
Daniel Calviño Sánchez fe32a9f244
Merge pull request #6596 from nextcloud/replace-virtual-background-segmentation-model
Replace virtual background segmentation model
2021-11-23 19:38:28 +01:00
Daniel Calviño Sánchez c3721fde8f Replace virtual background segmentation model
The original segmentation models used in Jitsi were relicensed by Google
from the Apache license to a proprietary one. While in theory the
previous versions should still be usable under the Apache license it
seems that they were never intended to be released as such. Therefore
the segmentation model is now replaced with the MediaPipe Selfie
Segmentation model.

Code changes are based on commit
"9b6b335c60223dc7615b308b8a25a263c7fc95eb" of repository
"https://github.com/jitsi/jitsi-meet".

"selfie_segmentation_landscape.tflite" was copied from
"mediapipe/modules/selfie_segmentation/selfie_segmentation.tflite" of
repository "https://github.com/google/mediapipe" at commit
"8b57bf879b419173b26277d220b643dac0402334".

"Model Card MediaPipe Selfie Segmentation.pdf" was downloaded from
"https://drive.google.com/file/d/1dCfozqknMa068vVsO2j_1FgZkW_e3VWv/view".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-23 17:35:51 +01:00
Joas Schilling 1f030820fa
Merge pull request #6591 from nextcloud/fix-video-zoom-jump-with-background-blur-when-changing-resolution
Fix video zoom jump with background blur when changing resolution
2021-11-23 11:52:00 +01:00
Nextcloud bot ce1c512132
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 03:15:48 +00:00
Daniel Calviño Sánchez e3567fa706 Fix video zoom jump with background blur when changing resolution
The input track is played in a video element which, in turn, is drawn on
the canvas used to calculate the segmentation mask and on the output
canvas. When the resolution of its input track changes a video element
may still play the track using the old resolution for some frames (it
happens with real hardware cameras, although apparently not with virtual
devices), even if "track.getSettings()" already returns the new
resolution.

Due to this mismatch, when the resolution of the input track changed
(for example, due to a quality change in a call with several
participants), the video could zoom in and out, as the output canvas
size was based on the new size, while the video element drawn on it was
still using the old size.

Fortunately, the "videoWidth" and "videoHeight" attributes of the video
element seem to reflect the actual size of the video being played, so
those values can be used to do the calculations instead of relying on
the expected video size.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-22 20:31:18 +01:00
Joas Schilling 2157aa8bf7
Merge pull request #6588 from nextcloud/changelog/13.0.0-rc.3
Add changelog 13.0.0-rc.3
2021-11-22 16:08:18 +01:00
Joas Schilling 054d81d04b
Add changelog 13.0.0-rc.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-22 16:04:18 +01:00
Joas Schilling adc825f929
Merge pull request #6569 from nextcloud/fix-flickering-with-background-blur-when-changing-quality
Fix flickering with background blur when changing quality
2021-11-22 15:54:39 +01:00
Daniel Calviño Sánchez b205a79e61 Update the output stream of the background blur instead of changing it
When the constraints of the input stream were changed the background
blur was stopped and started again to apply the new width, height and
frame rate to the output. However, changing a stream (any stream, it is
unrelated to the background blur) causes a flickering (one or more black
frames in between), so every time that the sent video quality was
adjusted the local video flickered.

Now, instead of reseting the background blur, the internal elements are
updated and adjusted to the new constraints of the input, but the same
output stream is kept. This avoids the stream change and thus the
flickering. Note, however, that the video will temporary freeze instead
while the input stream is being re-rendered, although this should be
less annoying than the flickering.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-22 15:15:14 +01:00
Daniel Calviño Sánchez a20d5eb28a Limit the segmentation rate to the stream frame rate
The segmentation was always run at 30 FPS. However, if the input stream
has a lower FPS calculating the segmentation again is a waste of
resources, as it might have not changed since the previous input frame.
Moreover, as the output stream also runs at the same FPS as the input
the canvas could be drawn without any effect in the output.

As the input stream, the calculation of the segmentation and the drawing
of a new output frame are not synchronized in some cases this could
introduce some lag between the drawn segmentation and the input video.
However, due to the lack of synchronization that could happen already
(and the fixed 30 FPS only overcomed that on lower FPS inputs by sheer
luck and brute force), and the reduced load is worth that minor
annoyance. This could be solved by synchronizing the input stream and
the segmentation mask, but that comes with its own challenges.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-22 15:15:14 +01:00
Daniel Calviño Sánchez 37fd8da11d Do not calculate segmentation again if the previous one is not finished
Whenever a segmentation is calculated it is used to draw the input
stream to the output canvas with the background blurred. The
segmentation calculation was triggered at regular intervals, but it was
not taken into account whether a previous segmentation was still being
calculated. Now a new segmentation is calculated only if the previous
one finished already.

This prevents running outdated segmentations and thus should reduce the
load on low end devices in which calculating the segmentation for a
frame takes longer than the time elapsed between frames.

Besides that, if the input stream was changed the previous segmentation
could be processed when the new one had not finished loading yet, which
could led to visual glitches. This is also implicitly fixed by this
change, as the previous segmentation will be discarded if it does not
match the expected frame id.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-22 15:15:14 +01:00
Joas Schilling 2790ead539
Merge pull request #6467 from nextcloud/techdebt/noid/autoreleasing
Create appstore-build-publish.yml
2021-11-22 13:56:57 +01:00
Joas Schilling 7947b26004
Merge pull request #6581 from nextcloud/dependabot/npm_and_yarn/extendable-media-recorder-wav-encoder-7.0.63
Bump extendable-media-recorder-wav-encoder from 7.0.62 to 7.0.63
2021-11-22 10:40:07 +01:00
Joas Schilling e3e18758b9
Merge pull request #6579 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-6.4.1
Bump workbox-webpack-plugin from 6.3.0 to 6.4.1
2021-11-22 10:35:23 +01:00
dependabot[bot] 76d6982380
Bump extendable-media-recorder-wav-encoder from 7.0.62 to 7.0.63
Bumps [extendable-media-recorder-wav-encoder](https://github.com/chrisguttandin/extendable-media-recorder-wav-encoder) from 7.0.62 to 7.0.63.
- [Release notes](https://github.com/chrisguttandin/extendable-media-recorder-wav-encoder/releases)
- [Commits](https://github.com/chrisguttandin/extendable-media-recorder-wav-encoder/compare/v7.0.62...v7.0.63)

---
updated-dependencies:
- dependency-name: extendable-media-recorder-wav-encoder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 09:31:34 +00:00
Joas Schilling 66825f0f10
Merge pull request #6580 from nextcloud/dependabot/npm_and_yarn/vue/test-utils-1.3.0
Bump @vue/test-utils from 1.2.2 to 1.3.0
2021-11-22 10:29:51 +01:00
Joas Schilling 998fbe206b
Merge pull request #6582 from nextcloud/dependabot/npm_and_yarn/extendable-media-recorder-6.5.11
Bump extendable-media-recorder from 6.5.10 to 6.5.11
2021-11-22 10:29:14 +01:00
Marco 7d30915a64
Merge pull request #6583 from nextcloud/bugfix/noid/always-open-the-conversation-settings-with-the-right-data
Always open the conversation settings with the right data
2021-11-22 10:22:08 +01:00
Joas Schilling d19a1347aa
Always open the conversation settings with the right data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-22 09:59:50 +01:00
Nextcloud bot 5111526913
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 03:35:19 +00:00
Nextcloud bot ae6eba0ce4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 03:14:24 +00:00
dependabot[bot] 878e15df58
Bump extendable-media-recorder from 6.5.10 to 6.5.11
Bumps [extendable-media-recorder](https://github.com/chrisguttandin/extendable-media-recorder) from 6.5.10 to 6.5.11.
- [Release notes](https://github.com/chrisguttandin/extendable-media-recorder/releases)
- [Commits](https://github.com/chrisguttandin/extendable-media-recorder/compare/v6.5.10...v6.5.11)

---
updated-dependencies:
- dependency-name: extendable-media-recorder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-20 04:28:39 +00:00
Nextcloud bot 2a5f89677b
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 03:35:23 +00:00
dependabot[bot] 2023255d1c
Bump @vue/test-utils from 1.2.2 to 1.3.0
Bumps [@vue/test-utils](https://github.com/vuejs/vue-test-utils/tree/HEAD/packages/test-utils) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/vuejs/vue-test-utils/releases)
- [Changelog](https://github.com/vuejs/vue-test-utils/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-test-utils/commits/v1.3.0/packages/test-utils)

---
updated-dependencies:
- dependency-name: "@vue/test-utils"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-20 02:02:58 +00:00