Skip to content

MCU integration - #398

Merged
Ivansss merged 14 commits into
masterfrom
mcu-integration
Jun 22, 2018
Merged

MCU integration#398
Ivansss merged 14 commits into
masterfrom
mcu-integration

Conversation

@fancycode

@fancycode fancycode commented Sep 1, 2017

Copy link
Copy Markdown
Member

This PR is work-in-progress to support using an MCU.

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.

@codecov

codecov Bot commented Sep 1, 2017

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@f1cbbf2). Click here to learn what that means.
The diff coverage is 1.32%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #398   +/-   ##
=========================================
  Coverage          ?   10.32%           
  Complexity        ?      394           
=========================================
  Files             ?       23           
  Lines             ?     1975           
  Branches          ?        0           
=========================================
  Hits              ?      204           
  Misses            ?     1771           
  Partials          ?        0
Impacted Files Coverage Δ Complexity Δ
appinfo/app.php 0% <ø> (ø) 0 <0> (?)
lib/Manager.php 0% <0%> (ø) 45 <1> (?)
lib/Controller/SignallingController.php 0% <0%> (ø) 37 <16> (?)
lib/Controller/PageController.php 0% <0%> (ø) 20 <4> (?)
lib/Room.php 0% <0%> (ø) 42 <3> (?)
lib/Controller/RoomController.php 0% <0%> (ø) 94 <0> (?)
lib/Controller/AppSettingsController.php 0% <0%> (ø) 19 <18> (?)
appinfo/routes.php 0% <0%> (ø) 0 <0> (?)
lib/AppInfo/Application.php 0% <0%> (ø) 3 <2> (?)
lib/BackendNotifier.php 0% <0%> (ø) 13 <13> (?)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f1cbbf2...18957e6. Read the comment docs.

@fancycode
fancycode force-pushed the standalone-signaling branch 2 times, most recently from 7e88cb8 to d5e10f4 Compare September 8, 2017 14:54
@nickvergessen nickvergessen changed the title WIP: MCU integration MCU integration Sep 12, 2017
@nickvergessen
nickvergessen force-pushed the standalone-signaling branch 2 times, most recently from 3ffdbde to 143a557 Compare October 11, 2017 15:28
@fancycode
fancycode force-pushed the standalone-signaling branch 2 times, most recently from 0b285f6 to 6d13722 Compare November 2, 2017 10:24
@fancycode
fancycode changed the base branch from standalone-signaling to master November 2, 2017 10:57
@nickvergessen nickvergessen added this to the 3.1 (Nextcloud 13.0.2/3) milestone Nov 14, 2017
@nickvergessen
nickvergessen changed the base branch from master to stable13 January 15, 2018 13:49
@nickvergessen
nickvergessen changed the base branch from stable13 to master March 9, 2018 15:07
@nickvergessen nickvergessen modified the milestones: 3.2 (Nextcloud 13.0.2), 4.0 (Nextcloud 14) Mar 9, 2018
- sendRoomMessage
- requestOffer
- sendOffer

Signed-off-by: Joachim Bauch <bauch@struktur.de>
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>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
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>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
…icipants.

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>
…atar.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
@Ivansss
Ivansss merged commit 1060fb8 into master Jun 22, 2018
@Ivansss
Ivansss deleted the mcu-integration branch June 22, 2018 14:21
@nickvergessen

Copy link
Copy Markdown
Member

@Ivansss no backport?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants