Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MM-45894] Allow signaling through data channel #156

Merged
merged 4 commits into from
Oct 9, 2024
Merged

Conversation

streamer45
Copy link
Contributor

@streamer45 streamer45 commented Sep 24, 2024

Summary

We take a similar approach to the one used for AV1 as we need to know if the client expects to use the DC for signaling. If that's the case, then other than for the very initial exchange (setting the DC itself), we default to the DC for any further signaling of media tracks.

To note, we purposely exclude ICE candidates from this logic since they are needed for the client to establish (or reestablish) connectivity, so they must require a side channel.

Related PRs

mattermost/calls-common#39
mattermost/mattermost-plugin-calls#865

Ticket Link

https://mattermost.atlassian.net/browse/MM-45894

Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

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

Just a minor question, non blocking. Nice and clean!

client/api_test.go Show resolved Hide resolved
client/rtc.go Show resolved Hide resolved
service/rtc/session.go Show resolved Hide resolved
@streamer45 streamer45 mentioned this pull request Oct 2, 2024
@streamer45 streamer45 added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Oct 9, 2024
* Implement data channel message type

* Update client implementation

* Update godeltaprof

* Fix dc init race

* [MM-60561] RTC client metrics (#159)

* Client metrics

* Implement rtc stats monitor

* Remove unnecessary parenthesis
@streamer45 streamer45 merged commit a44d499 into master Oct 9, 2024
2 checks passed
@streamer45 streamer45 deleted the MM-45894 branch October 9, 2024 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants