fyhertz / spydroid-ipcamera

A powerful and funny android app. that streams the camera and microphone of your phone to your browser or to VLC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ngethe opened this issue · comments

@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

commented

you can try with rtsp

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

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.

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)

commented

you can paste rtsp error ,I cannot unzip your file

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.

commented

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