Repository navigation
A huge release with lots of bug fixes. Of course, the AI helped me figure it out. But every single line of code was personally reviewed and finalized by me. Everything is written exactly as I would have written it myself (except tests).
The set of release binaries has changed slightly and expanded. Linux and Windows versions have been kept for backward compatibility. For Linux, Mac (darwin) and FreeBSD - tar.gz archives are now available, which are more native.
WebUI and MSE
- Major rewrite of the MSE player (71f9f7d)
- Rewrite VideoMSE as a JavaScript API (f2f8ab2)
- Remove the video src attribute instead of setting it to an empty string #2102 by @IgorA100 (822f133)
- Auto-mute video only when autoplay is blocked #2665 by @petrouv (877940a)
- Stop microphone tracks when the peer connection is dropped #2666 by @petrouv (1b926fa)
- Fixes to the MSE player (47a83bb)
- Fix InvalidStateError when MSE updateend fires after MediaSource is detached #2553 by @jasonhorga (abd03d2)
- Fix MP4 playback by calling canPlayType on the video element #2748 by @petrouv (f548eba)
WebRTC
- Add WebRTC renegotiation for two-way audio #2545 by @starkillerOG (a87c60c)
- Read RTCP feedback to enable NACK retransmissions #2486 by @Desseres (a35e769)
- Limit NACK retransmissions #2684 #2486 #2685 by @strausmann (bdf7eee)
- Request a source keyframe on PLI/FIR #2685 #2486 by @strausmann (5101be5)
- Request a keyframe for new consumers of a running source #2724 #2685 #2365 by @michaelarnauts (6a36ddb)
- Reuse a compatible WebRTC receiver when the remote payload type changes #2480 #2389 #2386 #2375 by @rkj (70abf3b)
- Close PeerConnection and RTSP client on failed Nest dial #2378 by @ajplotkin (5c9ee07)
- Fix WebRTC client connection errors and socket leaks #2174 #2168 by @skrashevich (43cf3fc)
- Fix duplicate WebRTC receivers on concurrent GetTrack calls #2412 by @ucbmckee (ae08f38)
- Fix asynchronous ICE candidate filtering #2189 #2172 by @tredger (1aa814e)
- Fix and update WebRTC IP filtering #2752 home-assistant/core#190727 by @Niek (c52ea27)
RTSP
- Add RTCP PLI and FIR keyframe request options #2727 #2685 #2724 #2709 by @michaelarnauts (2ad0481)
- Add setup and play keyframe options (a24f65b)
- Add
#keepaliveparameter to change or disable OPTIONS keepalive #2746 by @Vikk20 (6c88ed5) - Add backchannel requirement to all RTSP requests #2725 (640dc36)
- Rework RTSP keyframe options (resetup, replay and play) (e61f312)
- Limit the number of RTSP redirects #2702 #2701 by @strausmann (c7e0204)
- Preserve RTSP session ID across track setup requests #2566 #2462 by @SeoFood (fbbf9ea)
- Close RTSP connection after a partial TCP write #2625 #2574 #2388 by @sapireli (85ccea3)
- Fix default backchannel setting for RTSP source #2723 (97fc9af)
- Fix concurrency in RTSP module (0367f59)
- Fix RTSP header order for better camera compatibility #2623 #2622 by @amlaban65 (c4aeba0)
Xiaomi source
- Add support for Taiwan region #2650 by @Yi-Hsuan-Su (7989141)
- Add support for battery cameras behind a hub (mxiang.camera.mwc10) #2588 by @stunningfield (beacb16)
- Add channel number and queue depth to CS2 pop buffer errors #2385 #2280 #2307 #2377 by @zealllot (b334f0a)
- Close CS2 sessions so the camera frees its streaming slot #2728 by @JanitorHead (166a3b8)
- Send keepalive pings on CS2 UDP connections #2755 by @Vikk20 (66c9da2)
- Fix Xiaomi cloud login after phone or email verification #2450 #2582 #2063 by @widewing and @DIYgod (485b8cd)
- Fix HD quality for Xiaomi C300 (xiaomi.camera.c01a01) #2649 by @yurganov (eae88d4)
- Fix H.264 probe panic on Aqara G2 and support cameras without audio #2672 #2620 #2644 #2570 by @RyoKusnadi (e521b2d)
- Fix two-way audio for Xiaomi MISS protocol #2679 by @yanivaha-personal (dcff5f0)
- Fix CS2 handshake stalling when the first probe write fails #2686 #2393 by @CharlesDaiii (2b2e02a)
- Fix CS2 source IP comparison #2699 #2294 #2048 #2184 by @StanislavByzov (3711d97)
- Fix panic on unknown CS2 data channels #2735 #2657 by @saromanov (4e35a25)
- Fix CS2 pop buffer overflow #2057 (6fe6e24)
- Fix media timestamps for xiaomi yunlu.door.sd2106 #2477 by @zealllot (cef4457)
Wyze and TUTK
- Retry Wyze CC51 discovery on the direct port #2759 #2342 #2407 by @ModDayJob (4b644fb)
- Apply probe deadline to Wyze frame reads #2764 #2745 by @Adham-Kiwan (6754670)
- Send TUTK IO control over the DTLS client #2758 by @ModDayJob (44e50f6)
- Fix native 2K resolution selection for Wyze Bulb Cam HL_BC #2497 #2314 by @seitzbg (14a460b)
- Fix race between TUTK DTLS clientConn reads and Close #2500 by @Raymondriter (02da78e)
- Fix bounds checks in TUTK Session16 frame reassembly #2433 by @Ray8876 (f8851a8)
Tapo and Kasa sources
- Add media and backchannel RTSP parameters to Tapo source #2533 #1992 by @FIGIO55 (17dd39c)
- Improve MPEG-TS parser for Tapo source #2587 #1954 by @maidmaid (ffe9e9f)
- Fix Tapo deadlock when a stream is requested during two-way talk #2691 #2690 by @leandropineda (93ea459)
- Fix busy loop when reading Tapo multipart body #2592 #1433 #1941 by @Exee03 (8eb6552)
- Fix PTS clock for Tapo backchannel audio #2646 #2645 by @RyoKusnadi (f8db9a4)
- Fix panic on invalid Tapo encryption data #2765 (4a29c42)
- Fix timestamp precision for Kasa source #2760 by @Connor-Miller (127c390)
Tuya source
- Add support for Singapore region #2567 #2523 by @SeoFood (aaa79cc)
- Add timeouts to Tuya MQTT signaling publish #2564 #2538 by @SeoFood (ed9e389)
- Fix Tuya video clock rate for MP4 and HLS output #2543 #1730 by @EchterAgo (cdcc874)
- Fix missing microphone audio track and timestamps for Tuya HEVC cameras #2544 #2467 by @EchterAgo (b4cd8b4)
HomeKit and mDNS
- Replace the external DNS library with an internal implementation #2777 by @AlexxIT (2ff949e)
- Set default bitrate for HomeKit cameras to 1920 kbps #2425 #1180 (7c2fc4e)
- Read the entire HomeKit GetAccessories response body #2720 #2604 by @machadolucas (e7a63a5)
- Remove restrictions on Docker-like IP addresses in mDNS #2266 #2675 #1859 (d2dbcc9)
- Report per-interface mDNS bind errors #2304 #1225 #2266 #1283 by @TA2k (263f4c5)
- Fix HomeKit streaming from Logitech Circle 2 #2430 #2322 #1180 #2425 by @Vvass-code (2eeaa03)
- Fix error after a HomeKit viewer stops viewing a stream #2772 #2776 (a95ef15)
ONVIF
- Add ONVIF authentication with UsernameToken support #2231 #2148 by @ssttevee (f82c08d)
- Use ONVIF service paths reported by the camera #2601 #2028 by @monarchsofchaos004-gif (aaea97a)
- Escape stream names in ONVIF stream and snapshot URIs #2738 #2596 by @alexdonzel (7615cf4)
- Fix URL parsing for ONVIF source #2284 (12f643f)
FFmpeg and devices
- Add support for textfile to FFmpeg drawtext #1638 #1636 by @scott-t-wilson (6e03347)
- Add support for AVFoundation unique device IDs #2683 by @csev1755 (4037f62)
- Update FFmpeg versions (69701fc)
- Escape stream names in internal FFmpeg RTSP URLs #2596 #2583 by @monarchsofchaos004-gif (78fcd54)
- Fix hardware acceleration on new FFmpeg versions #2374 with @kugaevsky (955f4a2)
- Fix FFmpeg binary paths containing spaces on Windows #2423 by @paresy (6352e00)
Codecs and containers
- Add bounds checks to H.265 DecodeConfig and EncodeConfig #2191 by @MechanicalCoderX (f543192)
- Trim Annex B start codes from H.264 sprop-parameter-sets #2730 #2729 by @alexdenton123 (c07ed4a)
- Improve H.265 RTP depacketization #2191 by @MechanicalCoderX (c7d19ce)
- Improve MJPEG RTP depacketization and transcoding #2190 by @MechanicalCoderX (cc20802)
- Prevent AAC crash on malformed AU headers #2513 #697 by @tac2sc (1178bf9)
- Guard against zero MP4 timescale to prevent invalid timestamps #2192 by @MechanicalCoderX (65741c3)
- Latch FLV timestamp baseline on the first packet #2330 by @zephleggett (3e7e90a)
- Fix H.264 SPS and SEI being dropped as HEVC access unit delimiters #2656 #2655 by @gnacho (561419f)
- Fix panic on malformed H.264 AVCC NAL unit length #2454 #2420 by @SAY-5 (5cb3ad5)
- Fix RepairAVCC #2420 (40d1ee2)
- Fix parsing malformed AVCC packets #2418 #2419 #2465 #2562 (0f22dbb)
- Fix malformed AVCC processing #2465 (3f4359c)
- Fix FLV processing with malformed AVCC #2465 (dfc3e2d)
- Fix H.264 RTP depacketization of incomplete FU-A NAL units #2609 #2490 #2491 #2380 by @alxrxs (1bf163e)
- Fix H.265 RTP aggregation and marked SEI handling #2586 #244 #2296 #2633 #2634 by @DIYgod (7c3afb7)
- Fix bounds check in GetFmtpLine #2193 by @MechanicalCoderX (b553731)
- Fix concurrent access to MPEG-TS muxer tracks #2697 #2682 by @mansur-akhmadi (049732a)
- Fix HLS segment URL parsing in CRLF playlists #2638 #2569 by @b84330808 (bbf689c)
- Fix panic on empty RTMP and FLV tags #2661 #2061 #2241 #2537 by @com6056 (76404a7)
- Fix H.264 processing for RTMP producer #2687 (1a21ad3)
- Fix RTMP client connection to MediaMTX #2739 (214bc33)
Other sources
- Add RSA CBC cipher suites for older Axis cameras #2383 #1172 by @blineadam (944f976)
- Try Roborock PIN as is when its MD5 hash is rejected #2689 by @keesmod (8f28c93)
- Accept pre-hashed MD5 PIN as Roborock homesec password #2658 by @jonathancruzate (ed54ffe)
- Accept initial HTTP 200 OK response in Multitrans source #2186 #2185 by @neqq3 (83a98fb)
- Handle DVRIP responses terminated by a single null byte #2520 by @tuliocll (1407193)
- Apply starttimeout to exec pipe probing #2483 #2481 by @vertoforce (9cfa80a)
- Improve termination of child process groups for exec source #2484 #1243 by @vertoforce (2e087f3)
- Fix video codec parsing for DVRIP source #2671 (447eb39)
Core, API and networking
- Add missing network request timeouts (1a32377)
- Use constant-time comparison for API and RTSP authentication #2693 by @Gyang91 (4be9b0f)
- Mask overlapping secrets as a whole #2711 #2340 #2703 by @strausmann (a8c471c)
- Write masked log output in a single write #2678 #2288 by @strausmann (c1455f1)
- Key cached JPEG frames by request options #2606 #2392 by @dajiaohuang (3491180)
- Count bytes only after successful writes #2605 by @dajiaohuang (7bbf03f)
- Quote host identifiers in the DOT graph #2767 #1686 #2165 by @gnacho (3755adb)
- Improve TCP error handling #2265 by @alrs (0127da0)
- Apply dial timeout to TLS handshake #2700 by @strausmann (e9163eb)
- Fix WriteBuffer race causing panics after MP4 HTTP client disconnect #2339 #338 #1220 #1261 #1757 by @Color-Kat (38dd75a)
- Fix races in WriteBuffer #2327 by @zephleggett (7109ed4)
- Fix concurrent producer access in AddConsumer #2598 #2595 by @Saadanjum0 (fc13c41)
- Fix cleanup of failed keyframe consumers #2624 (253c178)
- Fix sent bytes counters for RTSP, DVRIP, PCM and WAV #2388 by @ajplotkin (5dc53dc)
- Fix incorrect network timeout values (8eee2d4)
- Fix server-provided error messages for Ivideon and Tuya #2706 #2703 by @strausmann (3e717db)
Build and CI
- Add Linux and FreeBSD riscv64 builds #2236 #2250 by @eshattow (8292179)
- Add Makefile and remove old scripts folder (ac84bb8)
- Add Go tests to GitHub Actions (70b5ced)
- Update dependencies (1288068)
- Remove duplicate dependencies (4bfd3fb)
- Update GitHub Actions to fix Node.js 20 deprecation warnings #2437 by @eshattow (990f4de)
- Allow build workflows to publish packages #2251 #2252 by @eshattow (f0a5252)
- Update build_release in Makefile (148b66b)
- Update package.json (9e1d6ab)
- Update .gitignore (a2a8c55)
- Fix linux/arm/v6 Docker image #2698 (9c63677)
- Fix legacy key/value format in hardware Dockerfile #2436 by @eshattow (d8510c1)
- Fix test command name in Makefile (3e721d0)
Tests
- Add tests for video-rtc.js (8a4bf24)
- Update FFmpeg H.265 tests to use -x265-params #2597 by @monarchsofchaos004-gif (cf0447d)
- Test resetting RTCP read error count on successful reads #2710 #2703 #2709 by @strausmann (da397e2)
- Remove slow MJPEG RTP tests from race tests (c35d72e)
- Update HAP TLV8 tests for the 0xFF separator #2717 #2703 by @strausmann (c3e72d0)
- Remove obsolete core StripUserinfo test #2714 #2703 #2051 #2713 by @strausmann (4b79291)
- Update credential tests for full userinfo masking #2713 #2703 #2711 by @strausmann (90bfed4)
- Update credential masking tests #2678 (1603d10)
- Fix FFmpeg tests for Linux (84cf747)
- Fix platform-specific FFmpeg device tests and restore version state #2715 #2703 #2597 by @strausmann (68da13b)
- Fix tests for stricter URL parsing in Go 1.26.0 (fb3b783)
- Fix keyframe tests (0f4ff79)
- Fix WebRTC and RTSP test build after keyframe changes #2709 #2703 #2685 #2702 by @strausmann (d558da8)
- Fix RTSP TestMissedControl timeout and socket cleanup #2718 #2703 #2709 by @strausmann (dd5dd6d)
- Fix stream recursion and template tests #2705 #2703 by @strausmann (b0e6454)
- Fix AAC channel type in tests #2707 #2703 by @strausmann (4a3f2d0)
- Fix HAP HDS test build #2708 #2703 by @strausmann (66a7973)
- Fix HAP camera tests and adapt to TLV8 list separator #2716 #2703 by @strausmann (88baac2)
Docs and site
- Add Xiaomi devices list (984ab88)
- Update Xiaomi DEVICES.md (a3fb8aa)
- Update Xiaomi README.md and DEVICES.md (90f3fa0)
- Document channel setting for Tapo cameras #2463 (0c06f74)
- Document minimum FFmpeg version (6da465d)
- Update comment about hev1 and hvc1 MIME types #2205 (122198b)
- Document WHIP startup delays and direct-network ICE configuration #2568 #2508 by @SeoFood (b7417ac)
- Fix typo in documentation #2461 by @vaibhav8a (7448712)
- Fix API documentation on website (85495f4)