Skip to content

[Support]: Opening a camera takes 5-30 seconds #14802

Closed Answered by hawkeye217
mr-manuel asked this question in General Support
Discussion options

You must be logged in to vote

Opening the stream with the go2rtc url you used is employing WebRTC (as you can see from the url). Frigate uses MSE first and falls back to WebRTC (if enabled) and then jsmpeg on timeouts or decoding errors. Frigate prioritizes displaying a live stream as quickly as possible.

These kinds of issues are usually related to the camera audio and video codec and what is supported by the browser. As I linked from the docs above, setting the camera to output h.264 video and AAC audio provides the best compatibility.

Some inexpensive cameras also poorly implement these codecs, so some users have found that using the ffmpeg module and/or reencoding with go2rtc has helped, eg: ffmpeg:rtsp://192.168.…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mr-manuel
Comment options

@hawkeye217
Comment options

Answer selected by mr-manuel
@mr-manuel
Comment options

@hawkeye217
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment