Skip to content

Sync upstream RTSP fix and refresh Go dependencies - #5

Merged
matteius merged 5 commits into
devfrom
codex/upstream-deps-20261128
Nov 28, 2026
Merged

matteius merged 5 commits into
devfrom
codex/upstream-deps-20261128

Conversation

@matteius

@matteius matteius commented Nov 28, 2026 •

Copy link
Copy Markdown

Changes

  • Merge AlexxIT/go2rtc dev through 2026-11-27, including the partial RTSP TCP write fix (Close RTSP connection after a partial TCP write AlexxIT/go2rtc#2625). Preserve the fork RTCP Sender Report implementation and restore its time import after the upstream merge.
  • Upgrade all dependencies used by this module to currently compatible versions, including Pion WebRTC/ICE/DTLS, MQTT, golang.org/x/*, and the fixed Gorilla WebSocket revision v1.5.4-0.20240701034025-d67f41855da4 (GO-2026-6278).
  • Keep go 1.26.1 as the module minimum while selecting patched Go 1.27.4 for builds and CI. The Docker build uses GOTOOLCHAIN=auto and will select the toolchain directive.

Verification

  • go test -race -count=1 ./pkg/rtsp ./pkg/tcp passed.
  • python3 scripts/compare-test-baseline.py passed: 28 existing failures before and after, no new or changed failures.
  • go mod verify and a Go 1.27.4 binary build passed. Starting from Go 1.26.1 with auto selection produced a Go 1.27.4 binary.
  • govulncheck ./... and binary scan reported no vulnerabilities with Go 1.27.4.

Seven versions still appear in the module graph: two are used only by dependency test suites, and five are not needed by this module (go mod why). Unused requirements were not added just to advance them.

sapireli and others added 5 commits October 27, 2026 22:06
A write that times out can leave part of an interleaved RTP message on
the wire. The next frame or response was then appended after it, the
peer read those bytes as the missing tail of the first message, and its
$-framing broke for the rest of the session.

Serialize all writes on the connection and close it on a failed or
short write, so nothing follows an incomplete message. The read loop
sees the close and removes the consumer as usual.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…rite

Close RTSP connection after a partial TCP write
@matteius
matteius merged commit 1ceef25 into dev Nov 28, 2026
1 check passed
@matteius
matteius deleted the codex/upstream-deps-20261128 branch November 28, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants