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

Ivo/RTSP server fixes #185

Merged
merged 7 commits into from
Apr 30, 2021
Merged

Conversation

izivkov
Copy link
Contributor

@izivkov 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.

izivkov and others added 5 commits April 29, 2021 09:29
# 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`
Copy link
Collaborator

@thias15 thias15 left a 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();
Copy link
Collaborator

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?

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

Copy link
Contributor Author

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.

@izivkov
Copy link
Contributor Author

izivkov commented Apr 30, 2021

Pending testing. I don't see how video is now supported in all fragments

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.

@izivkov izivkov changed the title Ivo/video for all fragments Ivo/Misc Fixes Apr 30, 2021
@thias15
Copy link
Collaborator

thias15 commented Apr 30, 2021

Ok, makes sense. Will test and then merge.

@thias15 thias15 merged commit 6c28134 into isl-org:master Apr 30, 2021
@thias15 thias15 changed the title Ivo/Misc Fixes Ivo/RTSP server fixes Apr 30, 2021
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.

None yet

2 participants