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

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

Open
htn opened this issue Sep 18, 2012 · 5 comments
Open

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

htn opened this issue Sep 18, 2012 · 5 comments
Assignees

Comments

@htn
Copy link

htn commented Sep 18, 2012

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 !

@ghost ghost assigned spex66 Nov 19, 2012
@spex66
Copy link
Owner

spex66 commented Nov 19, 2012

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
Copy link

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
Copy link
Author

htn commented Dec 22, 2012

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
Copy link
Owner

spex66 commented Dec 22, 2012

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 [email protected] 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//issues/4#issuecomment-11635152.

@sunil28
Copy link

sunil28 commented Jun 10, 2013

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;
}

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

No branches or pull requests

4 participants