core: Foscam FI9901EP stream not working 0.91.0 and 0.91.1

Home Assistant release with the issue: 0.91.0 & 0.91.1

Last working Home Assistant release (if known): 0.900.2

Operating environment (Hass.io/Docker/Windows/etc.): hass.io

Component/platform: stream

Description of problem: Foscam FI9901EP not working with 0.90.0 and 0.90.1

Both generic and foscam show a still image but no stream. RTSP url has been verified, with VLC

Downgrading to 0.90.2 works for the generic platform, foscam obviously not because streams have been added in 0.91

I have the following error messages

blob:http://192.168.2.25:8123/7dd28df0-caf4-48b0-b5e6-9b1e7c353c00:1:6333 Uncaught ReferenceError: s is not defined
blob:http://192.168.2.25:8123/7dd28df0-caf4-48b0-b5e6-9b1e7c353c00:1:2380 Uncaught ReferenceError: s is not defined
Missing reference picture, default is 65592
Missing reference picture, default is 65590

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):


camera:
  - platform: generic
    name: Tuin Generic
    stream_source: rtsp://192.168.2.12:88/videoMain
    still_image_url: http://192.168.2.12:88/cgi-bin/CGIProxy.fcgi?cmd=snapPicture2&usr=ha&pwd=geheim01
    username: ha
    password: secret
    verify_ssl: false

  - platform: foscam
    ip: 192.168.2.12
    name: Tuin Foscam
    username: ha
    password: secret
    port: 88

Traceback (if applicable):


Additional information:

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 3
  • Comments: 50 (6 by maintainers)

Most upvoted comments

@r3tr0sp3c addon deprecated. New project: https://github.com/AlexxIT/WebRTC

camera works with or without stream without any additional software, this is not an issue about if is working or not, it’s just a bug report on stream: and possible foscam: intergrations

so with foscam integration set:

  • with stream: enabled: camera has delay of 5+ seconds and ha spits warnings in log
  • with stream: disabled camera works good

the way I see it ha should use foscam: integration implicit before it uses stream: but it does’t. if both stream and foscam are enabled then camera will use stream even if is set to be used with foscam integration

hope I was clear enough and anyway I appreciate you wanted to help @r3tr0sp3c

NO, if you are using default_config: If you are using config: then it should work.

that is not the reason, will not work @tmpneves

My conf looks like this:

camera:
  # Foscam
  - platform: foscam
    ip: 192.168.1.100
    name: 'Livingroom 1'
    username: !secret cam1_username
    password: !secret cam1_password
    rtsp_port: 88

As long as stream: component is enabled will get errors like this:

2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65542 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65544 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65546 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65548 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65550 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65552 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65554 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65556 2020-02-13 12:26:13 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65558 2020-02-13 12:26:14 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65560 2020-02-13 12:26:14 ERROR (stream_worker) [libav.h264] Missing reference picture, default is 65562

Im have the same problem, Hikvision IP Camera.

image

LOG:

2019-04-06 14:46:34 ERROR (MainThread) [frontend.js.es5.201903310] blob:http://192.168.1.28:5000/45ff0b76-6dd3-47a1-bbf9-f1e36d8be94f:1:2380 Uncaught ReferenceError: s is not defined 2019-04-06 14:46:34 ERROR (MainThread) [frontend.js.es5.201903310] blob:http://192.168.1.28:5000/45ff0b76-6dd3-47a1-bbf9-f1e36d8be94f:1:6333 Uncaught ReferenceError: s is not defined

image

image