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

Possible to open rtsp as app starts? #7

Open
Barabba11 opened this issue Aug 28, 2021 · 11 comments
Open

Possible to open rtsp as app starts? #7

Barabba11 opened this issue Aug 28, 2021 · 11 comments
Labels
enhancement New feature or request

Comments

@Barabba11
Copy link

Hi mate, thank you for this program :) I'm evaluating it, I'm searchng for an app that istantly opens the camera stream I put outside the enty door, my goal is to put a not expensive tablet near the door and use it to understand who rang outside. For this reason I'd like to reduce at maximum the number of taps, may you please kindly introduce such function? (open camera as the app starts).
It woud be lovely to use then https://www.guidingtech.com/30551/launch-android-apps-volume-buttons/ to assign your app to the volume buttons, clicking them suddenly tablet turns on and shows camera ))

@damianhoppe
Copy link
Owner

Hello
I am happy to add this functionality to the application.
I will inform you about the new update here, but I cannot promise that it will be released soon, because I am focusing on a slight rebuilding and optimization of the application.
Regards,
Damian

@Barabba11
Copy link
Author

Hi Damian, thanks for reply..
I?m looking for this app also for Android TV, is it compatible?
In particular I'm not happy about how VLC decoding video, probably there is a "compatibility mode bridge" between Sony code and Android.. this doesn't let android app access directly on hardware and it cause lags and not appreciable results, changing between SW,HW and HW++ modes don't give noticiable differences.
On the other side MX Player works great, it used optized libraries but more probably it access direct hardware. THe big unbelievable problem of MX player is that it can't save favourites, neither open a playlist file.. so playing URL only by typing every time address, can you imagine it?
In case you plan to mak e it work on Android TV, may you please use MX libraries as well? Thank you very much

@damianhoppe
Copy link
Owner

damianhoppe commented Oct 8, 2021

Hello
I released new beta version, in which I added the opening camera preview with app start.
You can find the application here:
https://github.com/Huczeq/RTSP-Player/releases/tag/pre1.7-16
In some time there should be a new, official version available on Google Play.

When answering the question about the version of the application on Android TV:
I plan to release a version for Android TV, unfortunately my app is not compatible at the moment.
Thanks for the information about the problems with the VLC library, when will I be working on the Android TV version of the application, I will check and test this.
Unfortunately, MX Player uses its own library which is not publicly available, so I am unable to use it. If the problems with VLC will very bothersome, I will consider using a different library.

@Barabba11
Copy link
Author

Thanks! It works )) good :) I'll wait for the version for TV :) VLC is better then nothing, it's not fluent but at least I can open the rtsp easly :) I'll be waiting for it :)
Just for info, do you know if something like this is available for WebOS too? As I searched and tested, I even couldn't find an app which lets open an rtsp stream! I've tested different who promised to do so.. but

@Barabba11
Copy link
Author

Hi! Do you have any news? Thanks :)

@damianhoppe
Copy link
Owner

Hello, in the coming days I will start creating the TV version.
I am so sorry it is so late, but unfortunately my pause on the project was due to many factors that were beyond my control.
Thanks for your patience.
Regards :D

@Barabba11
Copy link
Author

Hi mate! Thank you a lot for your kind support! THis is really welcome from you <3
May I ask you the chance to include in this version the chance to select which protocol to use for connection (TCP or UDP), usually the libraries use the UDP but the results for some reasons are poor, glitches appear, not stable. In my case I need to use TCP only, on the RTSP server of OBS there isn't the chance to force TCP only, so I have to use an RTSP proxy.. but it doesn't solve completely the problem as usually player tries different times before to use UDP, before trying with TCP, it takes time.. and sometimes even fail (for unknow reasons).
Thank you!

@Barabba11
Copy link
Author

Hi mate, how are you? Long time we didn't hear each other, have you gave a chance to the TV app version? :)
Thank you a lot for your answer!

@damianhoppe damianhoppe added the enhancement New feature or request label Apr 14, 2023
@damianhoppe
Copy link
Owner

The function of turning on the camera when starting the application has been fully implemented and made available officially on Google Play.
I can also inform you that I will be starting to create a TV version of the application.

I'm currently leaving this thread open in case any additional questions arise.
When, after a long period of inactivity, it will be closed and the topics of the TV version will be moved to a new one

@Barabba11
Copy link
Author

Thank you mate for your post, I'll be really glad to test the app into different android TV platforms and help you solving issues :)
Please try to focus on good codec, something smooth and well written, especially to decode software h265. I don't know if it's a good idea, and if possible, but start with MX player libraries can bee cool. VLC also seams not so bad.

If I can already suggest something, I would consider this important:

  1. option to turn on camera when starting also here :) (it's lovely)
  2. option to start with sound already on (camera's microphone) or off, volume up/down by arrows
  3. eventually in future option add a the second stream URL too (lower resolution), and change between streams by left-right arrows, for example. It can be useful sometimes when internet doesn't work good
  4. eventually in future zoom 2x with ok button, and arrows to navigate, again ok to zoom 1x.

I hope suggestions may be appreciated :))

I encourage you to ask a fee to use the app with full specs, and for example to use it for more than XX minutes, you may show a screen to wait for XX seconds before it continues
Thank you :)

@damianhoppe
Copy link
Owner

Thank you very much for your suggestions, I appreciate your willingness, I will definitely take them into account, but I must admit that this will be my first contact with creating applications for the TV platform, so I cannot promise that the update will appear very soon and that everything will be fully implemented - although compared to the original application, the changes will only be in the interface itself.
I will try to share test builds here on Github so it will be possible to test, I also have Android TV so I will also have the opportunity to test live performance.

Unfortunately, mxplayer uses its own unshared library, so I couldn't use it.
The tests will verify whether vlc will work efficiently on Android TV, and an additional advantage over other available libraries is the support for many formats.
The latest version also implements support for the ExoPlayer library - at least in my case it works well enough.
I must also add that the previous VLC playback performance issues were due to my own implementation of capturing video frames and displaying them on screen, this was required to be able to save the image as a camera thumbnail, but it had some issues that I wasn't aware of at the time , now it has been optimized and works more efficiently.

While this sounds interesting, I'm not going to charge for the app. I treat it as an open project that I implement in my own free time, as a hobby, learning and development, and charging fees would force me to support the application on an ongoing basis and issue corrections as quickly as possible.
On the main repository page there is a link to voluntarily support the project, but as I mentioned, it is a voluntary contribution and I cannot fully guarantee any update release dates.

Regards 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants