2015-08-27, 00:16
Both of those addresses return "No data received ERR_EMPTY_RESPONSE" on chrome. They fail in VLC also. Here is a verbose log if it's helpful. It seems to be trying to access rtsp on port 88. For the C1 at least, i think the rtsp post is 554. I'll take a look in github and see if I can find the version using snapPicture2. Thanks
Code:
16:46:58 T:140467262002944 NOTICE: script.foscam v0.0.21: Closing main view
16:47:11 T:140467576502016 NOTICE: Previous line repeats 1 times.
16:47:11 T:140467576502016 NOTICE: script.foscam v0.0.21: Applying settings
16:47:11 T:140467576502016 NOTICE: script.foscam v0.0.21: http://XXXXXX:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=XXX&pwd=XXX
16:47:11 T:140467425498880 NOTICE: Thread JobWorker start, auto delete: true
16:47:11 T:140467559716608 NOTICE: Thread BackgroundLoader start, auto delete: false
16:47:11 T:140467576502016 NOTICE: script.foscam v0.0.21: <Response [200]>
16:47:11 T:140467576502016 NOTICE: script.foscam v0.0.21: <CGI_Result>
<result>0</result>
<IOAlarm>0</IOAlarm>
<motionDetectAlarm>0</motionDetectAlarm>
<soundAlarm>1</soundAlarm>
<record>0</record>
<sdState>0</sdState>
<sdFreeSpace>0k</sdFreeSpace>
<sdTotalSpace>0k</sdTotalSpace>
<ntpState>1</ntpState>
<ddnsState>0</ddnsState>
<url>httpXXXXXXXX.myfoscam.org%XXXX</url>
<upnpState>0</upnpState>
<isWifiConnected>1</isWifiConnected>
<wifiConnectedAP>XXX</wifiConnectedAP>
<infraLedState>1</infraLedState>
</CGI_Result>
16:47:13 T:140467559716608 NOTICE: Thread LanguageInvoker start, auto delete: false
16:47:13 T:140467559716608 NOTICE: -->Python Interpreter Initialized<--
16:47:14 T:140467576502016 NOTICE: script.foscam v0.0.21: Sleeping for 5 seconds
16:47:14 T:140467559716608 NOTICE: script.foscam v0.0.21: http://XXXXXXXXXX:88/cgi-bin/CGIProxy.fcgi?cmd=getDevState&usr=XXXXXX&pwd=XXXXXXX
16:47:15 T:140467559716608 NOTICE: script.foscam v0.0.21: <Response [200]>
16:47:15 T:140467559716608 NOTICE: script.foscam v0.0.21: <CGI_Result>
<result>0</result>
<IOAlarm>0</IOAlarm>
<motionDetectAlarm>0</motionDetectAlarm>
<soundAlarm>1</soundAlarm>
<record>0</record>
<sdState>0</sdState>
<sdFreeSpace>0k</sdFreeSpace>
<sdTotalSpace>0k</sdTotalSpace>
<ntpState>1</ntpState>
<ddnsState>0</ddnsState>
<url>http%XXXXXXXXX.myfoscam.org%XXXX</url>
<upnpState>0</upnpState>
<isWifiConnected>1</isWifiConnected>
<wifiConnectedAP>XXXXX</wifiConnectedAP>
<infraLedState>1</infraLedState>
</CGI_Result>
16:47:15 T:140467559716608 NOTICE: script.foscam v0.0.21: Starting main view
16:47:15 T:140467127719680 NOTICE: Thread GUIDialogCache start, auto delete: true
16:47:15 T:140469159479232 NOTICE: DVDPlayer: Opening: rtsp://USERNAME:PASSWORD@XXXXXXXXXXX:88/videoMain
16:47:15 T:140469159479232 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
16:47:15 T:140467127719680 NOTICE: Thread DVDPlayer start, auto delete: false
16:47:15 T:140467127719680 NOTICE: Creating InputStream
16:47:15 T:140467127719680 NOTICE: Creating Demuxer
16:47:15 T:140467127719680 ERROR: OpenDemuxStream - Error creating demuxer
16:47:15 T:140467127719680 NOTICE: CDVDPlayer::OnExit()
16:47:15 T:140469159479232 NOTICE: CDVDPlayer::CloseFile()
16:47:15 T:140469159479232 NOTICE: DVDPlayer: waiting for threads to exit
16:47:15 T:140469159479232 NOTICE: DVDPlayer: finished waiting
16:47:15 T:140469159479232 NOTICE: CDVDPlayer::CloseFile()
16:47:15 T:140469159479232 NOTICE: DVDPlayer: waiting for threads to exit
16:47:15 T:140469159479232 NOTICE: DVDPlayer: finished waiting
16:47:15 T:140468104980224 NOTICE: EMBY Player -> onPlayBackStopped
16:47:15 T:140467559716608 NOTICE: script.foscam v0.0.21: http://XXXXXXXXXXXXXX:88/cgi-bin/CGIProxy.fcgi?cmd=getMirrorAndFlipSetting&usr=XXXXXXXXXX&pwd=XXXXX
16:47:15 T:140467559716608 NOTICE: script.foscam v0.0.21: <Response [200]>
16:47:15 T:140467559716608 NOTICE: script.foscam v0.0.21: <CGI_Result>
<result>0</result>
<isMirror>1</isMirror>
<isFlip>0</isFlip>
</CGI_Result>
16:47:19 T:140467576502016 NOTICE: script.foscam v0.0.21: Sleeping for 5 seconds
(2015-08-26, 15:53)maikito26 Wrote: Can you access either of these links from a browser? These are the actual streams. It should look like its downloading a file but it will be infinite so cancel it once you've confirmed its working.
orCode:http://USERNAME:[email protected]:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream
Code:http://XXX.XXX.XXX.XXX:88/cgi-bin/CGIStream.cgi?cmd=GetMJStream&usr=username&pwd=password&
These are the actual streams. Currently your version of the addon is using the prior, I personally use the second. If this doesn't work, then you might be interested in using an older version of the addon which uses the snapPicture2 command for the alarm preview instead of Leopold's extract JPEG from MJPEG stream (for more FPS!!)