mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-14 16:01:13 +03:00
fix: request H.264 from go2rtc for MSE streams to avoid H.265 PPS decode failures
This commit is contained in:
parent
276da2bd6a
commit
1941546a3c
@ -204,7 +204,12 @@ http {
|
||||
limit_except GET {
|
||||
deny all;
|
||||
}
|
||||
proxy_pass http://go2rtc/api/ws;
|
||||
# Request H.264 from go2rtc for browser MSE compatibility.
|
||||
# H.265 cameras with non-standard PPS parameter sets cause Chrome's
|
||||
# MSE decoder to receive the init segment but stall on media fragments,
|
||||
# triggering a 6-second timeout and fallback to low-bandwidth JPEG mode.
|
||||
set $args "${args}&video=h264&audio=aac";
|
||||
proxy_pass http://go2rtc/api/ws?$args;
|
||||
include proxy.conf;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user