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

improve webrtc connection times & misc improvements #160

Merged
merged 3 commits into from
Dec 13, 2023

Conversation

clintpurser
Copy link
Member

Quite a bit of misc things going on in this PR - I will try and call them out.

Upgrading flutter_webrtc to latest because: flutter-webrtc/flutter-webrtc#1428

upgrading bonsoir to latest because: Skyost/Bonsoir#57 has been resolved

shorten mDNS scan timeout (this was the main thing lengthening connection times, whoops!).

add try catch for camera stream exception i kept hitting.

add comments for .env setup

@clintpurser clintpurser requested review from njooma and cheukt December 13, 2023 20:52
@clintpurser clintpurser requested a review from a team as a code owner December 13, 2023 20:52
@clintpurser clintpurser requested a review from stuqdog December 13, 2023 20:52
Comment on lines +28 to +32
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(FLUTTER_BUILD_NUMBER)</string>
<string>1.0.0</string>
Copy link
Member Author

Choose a reason for hiding this comment

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

With Flutter 3.16 they changed how they label these strings in the apple projects code - we ought to regenerate our project to address this - but for now this is a fine bandaid.

if people copied this code to start there own apps it could eventually cause problems like this.

Copy link
Member

@njooma njooma left a comment

Choose a reason for hiding this comment

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

Thanks! Some comments we can discuss before final review

example/viam_example_app/lib/login_screen.dart Outdated Show resolved Hide resolved
example/viam_robot_example_app/lib/main.dart Outdated Show resolved Hide resolved
@cheukt cheukt removed their request for review December 13, 2023 21:09
@clintpurser clintpurser merged commit 1f89fed into viamrobotics:main Dec 13, 2023
2 checks passed
@clintpurser clintpurser deleted the connection-cleanup branch December 13, 2023 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants