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

[RSDK-8293] Pass in Connection to Answerer in WebRTC Server #4762

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bashar-515
Copy link
Member

@bashar-515 bashar-515 commented Jan 30, 2025

This PR includes our global connection to App as a WebRTC option for the external signaling answerer to use.

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Jan 30, 2025
@@ -55,7 +55,7 @@ func NewAppConn(ctx context.Context, cloud *config.Cloud, logger logging.Logger)
appConn.dialer = utils.NewStoppableWorkers(ctx)

appConn.dialer.Add(func(ctx context.Context) {
for {
for appConn.conn != nil {
Copy link
Member Author

Choose a reason for hiding this comment

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

flyby just thought this would be cleaner

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 31, 2025
@bashar-515 bashar-515 requested a review from cheukt January 31, 2025 19:24
@bashar-515 bashar-515 marked this pull request as ready for review January 31, 2025 19:24
@bashar-515
Copy link
Member Author

Tests will fail until we bump Goutils.

@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants