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

Streaming between two Android devices #7

Open
ahmontero opened this issue Nov 27, 2012 · 1 comment
Open

Streaming between two Android devices #7

ahmontero opened this issue Nov 27, 2012 · 1 comment

Comments

@ahmontero
Copy link

Hello, I can not stream video between two Android devices. I have followed all the directions I founded here without any success. I have:

Hardware: 2 x Nexus 3
Software: Android 4.1.2 (both devices)

One device runs RtspCamera project (D1) and the another device (D2) the RtspViewer project.

D1 ip is 192.168.0.200
D2 ip is 192.168.0.199

Step 1

I have tried to use VLC at url rtsp://192.168.0.200:8080/video but I can not see anything. VLC does not show any error, neither the device log.

Step 2

Next I tried D2 with the same url:

   private String rtspConnect = "rtsp://192.168.0.200:8080/video";

Same results: no error logs neither video, just black screen.

I have been debugging and I found that the client waits for sdp file to be created (state READY), but that never happens and I don´t know why. The thing is the RtspViewer code get stucked in:

RtpVideoRenderer.java at line 155:

   while (rtspControl.getState() != RtspConstants.READY) {
        ; // blocking
    }

Do you know what could be the problem?

If you need more info just tell me.

Thanks

@rusyasoft
Copy link

Hi ahmontero, did u find solution ?

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

2 participants