Release Security CAM Overlay add-on
(2015-06-17, 20:41)speed32219 Wrote: Trying this addon using Gotham 13.4 and ip.cam version 0.0.3 running on a rk3188 droid device using a foscam FI8918W. Running the addon displays nothing on the screen except an X a the top right of screen and depending on the url setting I get an http: 22. Same error using win7 kodi ver 2. Plugging http://192.168.1.119:8082/snapshot.cgi?&...&pwd=12345 into chrome browser or comodo dragon browsers I receive a 20KB JPEG image from the foscam FI8918W.

error 22 snapshot

http://192.168.1.119:8082/snapshot.cgi?&...&pwd=12345
Code:
14:01:10 T:1074163584   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
14:01:10 T:1074163584   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
14:01:10 T:1839301424  NOTICE: Thread GUIDialogCache start, auto delete: true
14:01:10 T:1074163584    INFO: void XCURL::DllLibCurlGlobal::easy_aquire(const char*, const char*, XCURL::CURL_HANDLE**, XCURL::CURLM**) - Created session to http://192.168.1.119
14:01:12 T:1074163584   ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://192.168.1.119:8082/snapshot.cgi?&usr=test&pwd=12345
14:01:12 T:1074163584   DEBUG: CCurlFile::GetMimeType - http://192.168.1.119:8082/snapshot.cgi?&usr=test&pwd=12345 -> failed
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers(http://192.168.1.119:8082/snapshot.cgi?&usr=test&pwd=12345)
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
14:01:12 T:1839301424   DEBUG: Thread GUIDialogCache 1839301424 terminating (autodelete)
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
14:01:12 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
14:01:12 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
14:01:12 T:1074163584  NOTICE: DVDPlayer: Opening: http://192.168.1.119:8082/snapshot.cgi?&usr=test&pwd=12345
14:01:12 T:1074163584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:01:12 T:1074163584   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
14:01:12 T:1074163584   DEBUG: LinuxRendererGL: Cleaning up GL resources
14:01:12 T:1856861224  NOTICE: Thread DVDPlayer start, auto delete: false
14:01:12 T:1856861224  NOTICE: Creating InputStream
14:01:12 T:1856861224   DEBUG: CFileCache::Open - opening <snapshot.cgi> using cache
14:01:12 T:1856861224   DEBUG: CurlFile::Open(0x715713c0) http://192.168.1.119:8082/snapshot.cgi?&usr=test&pwd=12345
14:01:12 T:1856861224   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
14:01:12 T:1856861224  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
14:01:12 T:1856861224   ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
14:01:12 T:1856861224   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
14:01:12 T:1856861224   ERROR: virtual bool XFILE::CFileCache::Open(const CURL&) - failed to open source <http://192.168.0.9:8081/snapshot.cgi?&usr=admin&pwd=Corinne1>
14:01:12 T:1856861224   ERROR: CDVDPlayer::OpenInputStream - error opening [http://192.168.1.119:8082/snapshot.cgi?&usr=test&pwd=12345]
14:01:12 T:1856861224  NOTICE: CDVDPlayer::OnExit()
14:01:12 T:1856861224  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:01:12 T:1856861224   DEBUG: virtual void CApplication::OnPlayBackStopped() : play state was 1, starting 1
14:01:12 T:1856861224   DEBUG: Thread DVDPlayer 1856861224 terminating
14:01:12 T:1074163584   DEBUG: virtual void CApplication::OnPlayBackStopped() : play state was 3, starting 0
14:01:12 T:1074163584   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
14:01:12 T:1074163584   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop

no error 22 but demuxer error if I change the snapshot.cgi to snap.htm taken from snapshot menu from camera

3. http://test:[email protected]:8082/snap.htm
Code:
14:18:43 T:1901419840  NOTICE: script.ipcam v0.0.3: http://192.168.1.119:8082/snap.htm
14:18:43 T:1074163584   DEBUG: CAnnouncementManager - Announcement: OnClear from xbmc
14:18:43 T:1074163584   DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc, message OnClear
14:18:43 T:1901287872  NOTICE: Thread GUIDialogCache start, auto delete: true
14:18:43 T:1074163584    INFO: void XCURL::DllLibCurlGlobal::easy_aquire(const char*, const char*, XCURL::CURL_HANDLE**, XCURL::CURLM**) - Created session to http://192.168.0.9
14:18:43 T:1074163584   DEBUG: CCurlFile::GetMimeType - http://192.168.1.119:8082/snap.htm -> x-directory/normal
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers(http://192.168.1.119:8082/snap.htm)
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/mms/udp
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtmp
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: streams
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: aacp/sdp
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: mp2
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
14:18:43 T:1074163584   DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
14:18:43 T:1074163584   DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
14:18:43 T:1074163584  NOTICE: DVDPlayer: Opening: http://192.168.1.119:8082/snap.htm
14:18:43 T:1074163584 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:18:43 T:1074163584   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
14:18:43 T:1074163584   DEBUG: LinuxRendererGL: Cleaning up GL resources
14:18:43 T:1900305576  NOTICE: Thread DVDPlayer start, auto delete: false
14:18:43 T:1901287872   DEBUG: Thread GUIDialogCache 1901287872 terminating (autodelete)
14:18:43 T:1900305576  NOTICE: Creating InputStream
14:18:43 T:1900305576   DEBUG: CFileCache::Open - opening <snap.htm> using cache
14:18:43 T:1900305576   DEBUG: CurlFile::Open(0x71194e40) http://192.168.1.119:8082/snap.htm
14:18:43 T:1689991720  NOTICE: Thread FileCache start, auto delete: false
14:18:43 T:1689991720    INFO: CFileCache::Process - Hit eof.
14:18:43 T:1900305576  NOTICE: Creating Demuxer
14:18:43 T:1900305576   [b]ERROR: bool CDVDDemuxFFmpeg::Open(CDVDInputStream*) - error probing input format, http://192.168.1.119:8082/snap.htm[/b]
14:18:43 T:1900305576   [b]ERROR: bool CDVDPlayer::OpenDemuxStream() - Error creating demuxer[/b]
14:18:43 T:1900305576  NOTICE: CDVDPlayer::OnExit()
14:18:43 T:1900305576  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:18:43 T:1689991720   DEBUG: Thread FileCache 1689991720 terminating
14:18:43 T:1900305576   DEBUG: virtual void CApplication::OnPlayBackStopped() : play state was 1, starting 1
14:18:43 T:1074163584   DEBUG: virtual void CApplication::OnPlayBackStopped() : play state was 3, starting 0
14:18:43 T:1900305576   DEBUG: Thread DVDPlayer 1900305576 terminating
14:18:43 T:1074163584   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
14:18:43 T:1074163584   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop

I have tried various url possibilities. including no user or pwd but all fail. The falure I get with no usr or pwd is:
ERROR: CCurlFile::Stat - Failed: Couldn't connect to server(7) for http://192.168.1.119:8082/snapshot.cgi

Edit: Dropped the http:// of the url in the ip.cam addon and this is my new error.
ERROR: virtual bool XFILE::CFileCache::Open(const CURL&) - failed to open source <192.168.1.119:8082/snapshot.cgi>

Any advice would be appreciated.

For some reason libcurl is failing to connect to the specified URL. I believe the "HTTP response code said error(22)" may indicate an HTTP response >= 400.

There isn't a lot more info to go off of in the logs. If you have command line access to the linux device you could try executing curl directly against the endpoints to see if you get any more info. You could also try to run a packet capture (ie Wireshark) to see if you can find the request and subsequent server response. Knowing what the request/response look like might shed more light on the issue.
Reply


Messages In This Thread
Security CAM Overlay add-on - by iolaus - 2013-11-23, 09:53
[WIP] Security CAM Overlay add-on - by iolaus - 2015-02-25, 15:47
RE: Security CAM Overlay add-on - by alpoy - 2015-04-26, 09:46
RE: Security CAM Overlay add-on - by iolaus - 2015-04-26, 15:55
RE: Security CAM Overlay add-on - by alpoy - 2015-04-26, 20:54
RE: Security CAM Overlay add-on - by pvarela - 2015-06-07, 12:08
RE: Security CAM Overlay add-on - by iolaus - 2015-06-08, 04:01
RE: Security CAM Overlay add-on - by nickr - 2015-06-08, 05:42
RE: Security CAM Overlay add-on - by iolaus - 2015-06-18, 02:31
RE: Security CAM Overlay add-on - by freddy12 - 2015-06-29, 17:36
RE: Security CAM Overlay add-on - by jouster - 2015-08-01, 16:36
RE: Security CAM Overlay add-on - by iolaus - 2015-08-26, 18:12
RE: Security CAM Overlay add-on - by nick w - 2015-10-06, 22:29
RE: Security CAM Overlay add-on - by nick w - 2015-10-06, 22:52
RE: Security CAM Overlay add-on - by wolfgr - 2016-01-27, 22:59
RE: Security CAM Overlay add-on - by Shigoru - 2016-01-28, 08:57
RE: Security CAM Overlay add-on - by japetus - 2016-02-06, 22:36
RE: Security CAM Overlay add-on - by Livin - 2017-01-29, 20:53
RE: Security CAM Overlay add-on - by QueK9 - 2017-02-08, 17:20
RE: Security CAM Overlay add-on - by nick w - 2017-02-08, 17:32
RE: Security CAM Overlay add-on - by QueK9 - 2017-02-08, 18:50
RE: Security CAM Overlay add-on - by nick w - 2017-02-13, 00:22
RE: Security CAM Overlay add-on - by cw-kid - 2017-02-13, 19:52
RE: Security CAM Overlay add-on - by cw-kid - 2017-02-19, 18:06
RE: Security CAM Overlay add-on - by QueK9 - 2017-02-28, 16:50
Security CAM Overlay add-on - by jouster - 2017-04-05, 01:13
RE: Security CAM Overlay add-on - by Extraze - 2017-05-18, 16:48
RE: Security CAM Overlay add-on - by kaim - 2017-06-17, 22:19
RE: Security CAM Overlay add-on - by iantivey - 2017-09-10, 02:55
RE: Security CAM Overlay add-on - by cerberii - 2017-09-19, 21:56
RE: Security CAM Overlay add-on - by Karellen - 2017-09-19, 23:07
RE: Security CAM Overlay add-on - by nickr - 2017-09-20, 01:03
RE: Security CAM Overlay add-on - by Livin - 2017-09-21, 05:01
RE: Security CAM Overlay add-on - by QueK9 - 2019-02-04, 15:21
RE: Security CAM Overlay add-on - by moad - 2018-09-07, 14:20
RE: Security CAM Overlay add-on - by jouster - 2019-02-07, 21:26
RE: Security CAM Overlay add-on - by Spirou - 2019-03-30, 17:12
RE: Security CAM Overlay add-on - by QueK9 - 2019-05-19, 02:52
RE: Security CAM Overlay add-on - by kozmo2k4 - 2019-05-19, 17:59
RE: Security CAM Overlay add-on - by jouster - 2019-06-15, 11:35
RE: Security CAM Overlay add-on - by Spirou - 2019-06-15, 16:05
RE: Security CAM Overlay add-on - by cw-kid - 2021-03-02, 13:06
RE: Security CAM Overlay add-on - by fr00kt - 2019-05-05, 09:06
RE: Security CAM Overlay add-on - by Spirou - 2019-06-04, 01:50
RE: Security CAM Overlay add-on - by Spirou - 2019-06-15, 19:07
RE: Security CAM Overlay add-on - by jouster - 2019-06-15, 19:58
RE: Security CAM Overlay add-on - by Spirou - 2019-06-15, 23:25
RE: Security CAM Overlay add-on - by jouster - 2019-06-16, 12:09
RE: Security CAM Overlay add-on - by jouster - 2019-06-17, 14:37
RE: Security CAM Overlay add-on - by Spirou - 2019-06-17, 17:41
RE: Security CAM Overlay add-on - by pavlov70 - 2019-07-20, 19:37
RE: Security CAM Overlay add-on - by pavlov70 - 2019-07-20, 19:44
RE: Security CAM Overlay add-on - by 123321 - 2019-10-29, 23:29
RE: Security CAM Overlay add-on - by 123321 - 2019-10-29, 23:36
RE: Security CAM Overlay add-on - by karlzre - 2020-01-22, 14:23
RE: Security CAM Overlay add-on - by 7361234 - 2020-04-10, 14:24
RE: Security CAM Overlay add-on - by jinux - 2021-02-22, 21:49
RE: Security CAM Overlay add-on - by Spirou - 2021-05-17, 10:56
RE: Security CAM Overlay add-on - by jinux - 2021-05-21, 22:01
RE: Security CAM Overlay add-on - by jinux - 2021-03-05, 13:54
RE: Security CAM Overlay add-on - by Spirou - 2021-05-11, 09:38
RE: Security CAM Overlay add-on - by jinux - 2021-05-16, 20:55
RE: Security CAM Overlay add-on - by Consumer - 2024-01-13, 21:32
Logout Mark Read Team Forum Stats Members Help
Security CAM Overlay add-on1