You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a use case where I need to run an rtsp server on android devices to essentially turn the camera on the device into an IP camera with an rtsp pull url. i.e. so we can connect directly to the phone and have live playback of the video from the camera.
Your project looks very interesting but I have a few questions:
Is say a closed issue regarding auth How to use auth? #37. I just wanted to confirm if we can use basic auth so that we can connect to the rtsp stream using a url in this format - rtsp://username:password@:5554/camera?
I saw a closed issue where it mentioned about only being able to expose the rtsp port on the local network via the router - How to connect from other wifi network? #36. Is this still the case or can it be exposed on the phone via its ip on the mobile network?
Thanks,
Gerard.
The text was updated successfully, but these errors were encountered:
1 - Yes, you can use basic auth. I did the test with VLC connecting to server as normal and VLC ask about auth so This should work with others players. If it isn't working for you let me know player used to emulate it and solve your case.
To enable auth in server you need to use this line before start it:
rtspServerCamera1.setAuthorization()
2 - This is not a limitation of the library. It is a limitation of each telephony provider. In my case I'm not enable to do it.
Apparently each telephony provider decide if they want let you open a port or not and maybe you have the range limited. https://stackoverflow.com/questions/4032482/serversocket-accept-not-accepting-connections-on-android
The solution is look for a provider that allow you do it but I don't know which one
Hi, I have a use case where I need to run an rtsp server on android devices to essentially turn the camera on the device into an IP camera with an rtsp pull url. i.e. so we can connect directly to the phone and have live playback of the video from the camera.
Your project looks very interesting but I have a few questions:
Is say a closed issue regarding auth How to use auth? #37. I just wanted to confirm if we can use basic auth so that we can connect to the rtsp stream using a url in this format - rtsp://username:password@:5554/camera?
I saw a closed issue where it mentioned about only being able to expose the rtsp port on the local network via the router - How to connect from other wifi network? #36. Is this still the case or can it be exposed on the phone via its ip on the mobile network?
Thanks,
Gerard.
The text was updated successfully, but these errors were encountered: