-
Notifications
You must be signed in to change notification settings - Fork 517
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
Ivo/RTSP server fixes #185
Conversation
izivkov
commented
Apr 30, 2021
- Delay starting the RTSP client 1 second to improve staring issues.
- Move setting resolution from RtspServer to PhoneController
- Select Nearby connection when WiFi is turned off.
# Conflicts: # android/app/src/main/java/org/openbot/env/RtspServer.java # android/controller/python/keyboard-controller-ui.py
# Conflicts: # android/app/src/main/java/org/openbot/env/RtspServer.java # android/controller/python/keyboard-controller-ui.py
- Move setting resolution from RtspServer to PhoneController - Select Nearby connection when WiFi is turned off.
This file was refactored, moved to `root/python` and is now called `keyboard-pygame.py`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending testing. I don't see how video is now supported in all fragments.
@@ -5,10 +5,10 @@ | |||
import android.view.TextureView; | |||
|
|||
public interface IVideoServer { | |||
void startServer(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this no longer needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, this seems to be handled now in RTSP server with private void startServer
and is not part of the interface anymore.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this no longer needed?
The server is started implicitly now when all the input conditions are met. Take a look at how AndGate
is used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought, maybe we should keep this in the interface. Looks like a method you would normally use. I think I will change it back.
Yes, the name of the branch is misleading. This was my intent, but as I described in Slack, ran into problems with dynamically creating surfaces. The description of the MR is correct. I will see if I can change the name of the brarch. |
Ok, makes sense. Will test and then merge. |