Skip to content

Backport all the things - #1044

Merged
nickvergessen merged 21 commits into
stable13from
mcu-standalone-signaling
Jul 12, 2018
Merged

Backport all the things#1044
nickvergessen merged 21 commits into
stable13from
mcu-standalone-signaling

Conversation

@nickvergessen

@nickvergessen nickvergessen commented Jul 12, 2018

Copy link
Copy Markdown
Member

Backport #887
Backport #398
Backport #890
Backport #990
Backport #977

fancycode and others added 21 commits July 12, 2018 09:35
No functional changes yet, but this will allow later to use the standalone
signaling backend to notify clients about new chat messages without having
to poll (see #624).

Signed-off-by: Joachim Bauch <bauch@struktur.de>
This removes the long-polling against the PHP backend and instead sends an
event to all users in a room through the standalone signaling server to
notify that new chat messages exist.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
- 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>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Joachim Bauch <bauch@struktur.de>
@nickvergessen nickvergessen added 3. to review bug design enhancement feature: chat πŸ’¬ Chat and system messages feature: WebRTC 🚑 WebRTC connection between browsers and/or mobile clients feature: signaling πŸ“Ά Internal and external signaling backends feature: frontend πŸ–ŒοΈ "Web UI" client labels Jul 12, 2018
@nickvergessen nickvergessen added this to the 3.2.4 milestone Jul 12, 2018
@fancycode

Copy link
Copy Markdown
Member

I think you missed #890 in the description, the commits are present here.

@nickvergessen

Copy link
Copy Markdown
Member Author

Tested chatting, calling and screensharing, all still working without the external signaling.

@nickvergessen
nickvergessen merged commit c0b7c63 into stable13 Jul 12, 2018
@nickvergessen
nickvergessen deleted the mcu-standalone-signaling branch July 12, 2018 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug design enhancement feature: chat πŸ’¬ Chat and system messages feature: frontend πŸ–ŒοΈ "Web UI" client feature: signaling πŸ“Ά Internal and external signaling backends feature: WebRTC 🚑 WebRTC connection between browsers and/or mobile clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants