Skip to content

Conversation

@danxuliu
Copy link
Member

The Web UI sends speaking and stoppedSpeaking messages through the status and hark data channels, but the messages are simply ignored when received in the hark data channel. The Android and iOS apps do not even use the hark data channel, neither for sending nor for listening, so it can be fully removed.

Moreover, with latest Janus versions the peers receive all data channel messages in the JanusDataChannel data channel, no matter on which data channel they were originally sent. As the speaking and stoppedSpeaking messages are sent through the status data channel sending them too through the hark data channel caused the messages to be handled twice.

The Web UI sends "speaking" and "stoppedSpeaking" messages through the
"status" and "hark" data channels, but the messages are simply ignored
when received in the "hark" data channel. The Android and iOS apps do
not even use the "hark" data channel, neither for sending nor for
listening, so it can be fully removed.

Moreover, with latest Janus versions the peers receive all data channel
messages in the "JanusDataChannel" data channel, no matter on which data
channel they were originally sent. As the "speaking" and
"stoppedSpeaking" messages are sent through the "status" data channel
sending them too through the "hark" data channel caused the messages to
be handled twice.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
@danxuliu danxuliu added 3. to review feature: WebRTC 🚡 WebRTC connection between browsers and/or mobile clients feature: call 📹 Voice and video calls labels Aug 27, 2020
@danxuliu danxuliu added this to the 💚 Next Major (20) milestone Aug 27, 2020
Copy link
Member

@Ivansss Ivansss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@nickvergessen nickvergessen merged commit 053c444 into master Aug 28, 2020
@nickvergessen nickvergessen deleted the get-rid-of-hark-data-channel branch August 28, 2020 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review feature: call 📹 Voice and video calls feature: WebRTC 🚡 WebRTC connection between browsers and/or mobile clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants