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

Unable to stream to card, low FPS and no sound #1459

Closed
2 tasks done
gabriel403 opened this issue May 23, 2024 · 2 comments
Closed
2 tasks done

Unable to stream to card, low FPS and no sound #1459

gabriel403 opened this issue May 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gabriel403
Copy link

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
5.2.0
Last working release (if known):

Browser and Operating System:
chrome 124, macos 14.1.1

Description of problem:
Am unable to stream live to the card from frigate, it continuously loads a single loading frame at 1fps
Going to the camera in the frigate ui shows correctly and no error in console
This same issue show on chrome on macbook using the internal hostname, and from companion apps using the nabu casa
This is frigate installed as addon to haos

Frigate card diagnostic information

{
  "ha_version": "2024.5.4",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
  "date": "2024-05-23T08:16:30.926Z",
  "frigate_version": {
    "5bdcbdf14940eeb3645c1394405a5387": "5.2.0/0.13.2-6476f8a"
  },
  "lang": "en",
  "timezone": "Europe/London",
  "git": {
    "build_version": "5.2.0-HEAD+g69249b6",
    "build_date": "Fri, 23 Jun 2023 15:26:26 GMT",
    "commit_date": "Thu, 22 Jun 2023 09:21:26 -0600"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.living_room_camera",
        "live_provider": "go2rtc"
      }
    ],
    "view": {
      "default": "live"
    },
    "live": {
      "preload": true,
      "auto_pause": "never"
    }
  }
}

Javascript errors shown in the web inspector (if applicable):

load_resource.ts:32 
        
        
       GET http://homeassistant.local:8123/webrtc/webrtc-camera.js?v=v3.5.2 net::ERR_ABORTED 404 (Not Found)

Additional information:

@gabriel403 gabriel403 added the bug Something isn't working label May 23, 2024
@gabriel403
Copy link
Author

Managed to get rid of the js error by installing the webrtc via hacs, but still only getting 1fps and no sound

@gabriel403 gabriel403 changed the title Unable to stream to card oad_resource.ts:32 GET /webrtc-camera.js?v=v3.5.2 net::ERR_ABORTED 404 (Not Found) Unable to stream to card, low FPS and no sound May 23, 2024
@gabriel403
Copy link
Author

Fixed!

Even though you select go2rtc the go2rtc section doesn't become required, it was this section I needed to work on

cameras:
  - camera_entity: camera.living_room_camera
    live_provider: go2rtc
    go2rtc:
      modes:
        - webrtc
      stream: living_room_hd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant