spex66 / RTSP-Camera-for-Android

Android based RTSP Server which is able to serve live camera view to multiple RTSP clients, such as VLC.
406 stars 257 forks source link

RTSP-Camera-for-Android not run with link dvr dahua #4

Open htn opened 11 years ago

htn commented 11 years ago

i have link rtsp://192.168.1.108:554/cam/realmonitor?channel=4&subtype=0&authbasic=YWRtaW46YWRtaW4=

when i run link above, the program is crash ! can you help me solve this problem ? thank !

spex66 commented 11 years ago

Sorry for the delay, but your bugreport is hard to understand. How is the rtsp link related to your problem?!?

Which program crashes? Where did you tried to start the link from?

It is a RTSP Camera / Server. One typical way to connect to the running Android app it, is to open VLC on your desktop: => Open Media: Network stream: => rtsp://IP:8080/video If it works, it would be great if you can leave a message about the HW you used.

regards Peter (=PA=)

gmavenis commented 11 years ago

I cannot run this project. The screen is black. In RtspViewerActivity.java, I used your url or my url, it still don't work. Please help me, Thanks so much

htn commented 11 years ago

hi spex66 my link is: rtsp://192.168.1.108:554/cam/realmonitor?channel=4&subtype=0&authbasic=YWRtaW46YWRtaW4= this link is from DVR 1) if i used VLC to run link "rtsp://192.168.1.108:554/cam/realmonitor?channel=4&subtype=0&authbasic=YWRtaW46YWRtaW4=", VLC will open a channel of DVR

2) if i used VLC to run link "rtsp://192.168.1.108:554/cam/realmonitor?channel=4", VLC will open a new window, i must type user is "admin" and password is "123456", then it open channel of dvr

i run your application, it open camera from my device, if i change my link, it is crash, I do not know the code to fix the login for your code.

spex66 commented 11 years ago

Hi htn,

there is nothing like a user/password for RTSPCamera! You can check the sourcecode....

So what do you want to achieve? What is your setup? I have no idea in which state you have problem. The single term "crash" is absolutely not helpful for an issue report.

regards (=PA=)

On Sat, Dec 22, 2012 at 9:39 AM, htn notifications@github.com wrote:

hi spex66 my link is: rtsp:// 192.168.1.108:554/cam/realmonitor?channel=4&subtype=0&authbasic=YWRtaW46YWRtaW4= this link is from DVR 1) if i used VLC to run link "rtsp:// 192.168.1.108:554/cam/realmonitor?channel=4&subtype=0&authbasic=YWRtaW46YWRtaW4=", VLC will open a channel of DVR

2) if i used VLC to run link "rtsp:// 192.168.1.108:554/cam/realmonitor?channel=4", VLC will open a new window, i must type user is "admin" and password is "123456", then it open channel of dvr

i run your application, it open camera from my device, if i change my link, it is crash, I do not know the code to fix the login for your code.

— Reply to this email directly or view it on GitHubhttps://github.com/spex66/RTSP-Camera-for-Android/issues/4#issuecomment-11635152.

sunil28 commented 11 years ago

hi , This is sunil, i have run a program to stream a RTSP video Stream . that code will permit the end-user to select which player to use for streaming (internal default application or any other installed application on the device which can handle video-streaming such as vPlayer, RockPlayer). but the player showing blank page and at the bottom a lock symbol appearing saying as locked please guide me to run the program , here is my code public static Intent anyPlayer(String DestAddr) { Uri uri = Uri.parse(DestAddr.toString()); Intent i = new Intent("android.intent.action.VIEW"); i.setDataAndType(uri, "video/*"); return i; }