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

spydroid.sdp?id=0&h264=500-15-640-480&flash=off&camera=back #26

Open
ngethe opened this issue Feb 16, 2017 · 7 comments
Open

spydroid.sdp?id=0&h264=500-15-640-480&flash=off&camera=back #26

ngethe opened this issue Feb 16, 2017 · 7 comments

Comments

@ngethe
Copy link

ngethe commented Feb 16, 2017

@fyhertz Thanks amillion for this
I am not able to connect to the phone app from web please help
I get below error on dev console

image

@zds05
Copy link

zds05 commented Mar 24, 2017

you can try with rtsp

@Gopinathp
Copy link

Gopinathp commented Sep 14, 2017

Me too. I'm not able to connect using either RTSP from VLC or HTTP from browser.

Internal Server error : 500 from phone. Attaching chrome HAR request. Please rename the file and remove .zip . I added .zip since github didn't allow me to upload file with .har extension

192.168.4.7.har.zip

@Gopinathp
Copy link

This project, if works, is very useful. I want to try my old phone as my video door bell (using an enclosure which is purpose built) by making changes to spydroid app.

@Gopinathp
Copy link

gopinath@wzdt5:~$ openRTSP rtsp://192.168.1.100:8086
Opening connection to 192.168.1.100, port 8086...
...remote connection opened
Sending request: OPTIONS rtsp://192.168.1.100:8086 RTSP/1.0
CSeq: 2
User-Agent: openRTSP (LIVE555 Streaming Media v2016.02.09)

Received 129 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Server: MajorKernelPanic RTSP Server
Cseq: 2
Content-Length: 0
Public: DESCRIBE,SETUP,TEARDOWN,PLAY,PAUSE

Sending request: DESCRIBE rtsp://192.168.1.100:8086 RTSP/1.0
CSeq: 3
User-Agent: openRTSP (LIVE555 Streaming Media v2016.02.09)
Accept: application/sdp

Received 248 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
Server: MajorKernelPanic RTSP Server
Cseq: 3
Content-Length: 96
Content-Base: 192.168.1.100:8086/
Content-Type: application/sdp

v=0
o=- 0 0 IN IP4 192.168.1.100
s=Unnamed
i=N/A
c=IN IP4 192.168.1.110
t=0 0
a=recvonly

Opened URL "rtsp://192.168.1.100:8086", returning a SDP description:
v=0
o=- 0 0 IN IP4 192.168.1.100
s=Unnamed
i=N/A
c=IN IP4 192.168.1.110
t=0 0
a=recvonly

This session has no media subsessions (i.e., no "m=" lines)

@zds05
Copy link

zds05 commented Sep 14, 2017

you can paste rtsp error ,I cannot unzip your file

@Gopinathp
Copy link

RTSP SDP output has been added in the previous comment.

This is not a zip file but just the extension is .zip; Please rename and remove the .zip extension from file name. It is HAR file, which can be viewed from chrome developer tools.

@zds05
Copy link

zds05 commented Sep 14, 2017

you can check function getSessionDescription() ,maybe your mAudioStream or mVideoStream is null .
if (mVideoStream != null) {
sessionDescription.append(mVideoStream.getSessionDescription());
sessionDescription.append("a=control:trackID="+1+"\r\n");
}

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

3 participants