Repository navigation
v0.10.31: forward frames before the keyframe
Frames can reach the viewer before the first keyframe.
Added
WIBOX_VIDEO_ALL_FRAMES, exposed as thevideo_all_framesoption (off by
default). Until now every video frame before the first IDR was discarded, and
the doorbell can go a minute and a half, or the whole session, without one, so
a consumer received audio only.- With the option on, every frame is forwarded. Colours are wrong until a
keyframe arrives, but there is a picture and the stream stays well formed.
Fixed
- The G711A audio was written twice when the output is MPEG-TS: once inside the
transport stream and once on stderr, which go2rtc collects as process log.
Verified
TestShouldSkipFramecovers the five combinations of the discard rule,
TestEnvFlagthe truth values,TestMpegtsEnabledthe muxed output switch.gofmt,go vetclean, full suite green in 8.0 s, coverage 64.1% against a CI
floor of 62%.
Not verified
- The live picture in Home Assistant: needs a waking window and the option
enabled in the add-on.