Skip to content

Conversation

@danxuliu
Copy link
Member

Fixes (in the WebUI, but changes in the mobile apps are needed) #3937

When Janus is used even if it is possible to open several data channels with different labels and send data on them all the messages are received in the first data channel opened.

Although currently several data channels are opened in Talk in practice only the "status" data channel is used (and messages received in data channels with a different label are ignored). This is also the first data channel opened when Janus is used, so until now everything happened to work (with Janus 0.4.3).

However, with newer Janus versions the data channel messages are received instead on a data channel opened by Janus, which is named "JanusDataChannel". It is not possible to change that behaviour on Janus except by patching it, so for broader compatibility the messages received in "JanusDataChannel" are treated like messages received in the "status" data channel (this was partially done already; this commit finishes the change).

When Janus is used even if it is possible to open several data channels
with different labels and send data on them all the messages are
received in the first data channel opened.

Although currently several data channels are opened in Talk in practice
only the "status" data channel is used (and messages received in data
channels with a different label are ignored). This is also the first
data channel opened when Janus is used, so until now everything happened
to work (with Janus 0.4.3).

However, with newer Janus versions the data channel messages are
received instead on a data channel opened by Janus, which is named
"JanusDataChannel". It is not possible to change that behaviour on Janus
except by patching it, so for broader compatibility the messages
received in "JanusDataChannel" are treated like messages received in the
"status" data channel (this was partially done already; this commit
finishes the change).

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

/backport to stable19

@danxuliu
Copy link
Member Author

/backport to stable18

@nickvergessen nickvergessen merged commit c92e3dd into master Jul 27, 2020
@nickvergessen nickvergessen deleted the fix-speaker-promotion-with-newer-janus-versions branch July 27, 2020 14:43
@danxuliu
Copy link
Member Author

/backport to stable19

@danxuliu
Copy link
Member Author

/backport to stable18

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

Labels

3. to review bug 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.

3 participants