Repository navigation
v0.10.38: mux the audio
The visitor can be heard, and the two new knobs are in the interface.
Fixed
- The audio branch required a separate
audioOutwriter, but in MPEG-TS mode
there is none: the sound goes into the muxer. So the remote audio of the
doorbell never reached the consumer, and a session log saidaudio=0while
the stream announced PCMA and only the filler silence came out. - Both paths now go through
writeAudioFrame, which returns whether it actually
wrote, so the counter reflects reality.
Added
trickle_ms(default 20, 0 disables the filler) andlock_wait(default 300,
0 fails at once) as add-on options, next toopen_settle.
Verified
TestWriteAudioFrameGoesIntoTheMuxer,TestWriteAudioFrameFallsBackToTheWriter,
TestWriteAudioFrameWithoutSinkWritesNothingandTestWriteAudioFrameSkipsEmptyFrames.gofmt,go vetclean, full suite green in 9.1 s, coverage 63.9%.
Not verified
- That audio content reaches Home Assistant: needs this version deployed and a
live session with the bell awake, checking the frame counter in the log.