From 811da2e1595b2eebbee5702f97739007f1861ca7 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Fri, 20 Sep 2024 07:27:15 -0500 Subject: [PATCH] Clarify live view docs (#13848) --- docs/docs/configuration/live.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/configuration/live.md b/docs/docs/configuration/live.md index e543e5ada..31e720031 100644 --- a/docs/docs/configuration/live.md +++ b/docs/docs/configuration/live.md @@ -21,8 +21,8 @@ The jsmpeg live view will use more browser and client GPU resources. Using go2rt If you are using go2rtc, you should adjust the following settings in your camera's firmware for the best experience with Live view: -- Video codec: H.264 - provides the most compatible video codec with all Live view technologies and browsers. -- Audio codec: AAC - provides the most compatible audio codec with all Live view technologies and browsers. +- Video codec: **H.264** - provides the most compatible video codec with all Live view technologies and browsers. Avoid any kind of "smart codec" or "+" codec like _H.264+_ or _H.265+_. as these non-standard codecs remove keyframes (see below). +- Audio codec: **AAC** - provides the most compatible audio codec with all Live view technologies and browsers that support audio. - I-frame interval (sometimes called the keyframe interval, the interframe space, or the GOP length): match your camera's frame rate, or choose "1x" (for interframe space on Reolink cameras). For example, if your stream outputs 20fps, your i-frame interval should be 20 (or 1x on Reolink). Values higher than the frame rate will cause the stream to take longer to begin playback. See [this page](https://gardinal.net/understanding-the-keyframe-interval/) for more on keyframes. The default video and audio codec on your camera may not always be compatible with your browser, which is why setting them to H.264 and AAC is recommended. See the [go2rtc docs](https://github.com/AlexxIT/go2rtc?tab=readme-ov-file#codecs-madness) for codec support information.