Skip to content

rtmp-services: encrypt verified Restream Autodetect ingest (#2216) - #3804

Merged
zackees merged 2 commits into
masterfrom
fix/2216-restream-rtmps
Nov 7, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/2216-restream-rtmps

Conversation

@zackees

@zackees zackees commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Refs #2216 (Restream.io Autodetect host only).

Upgrade the built-in Restream.io rtmp://live.restream.io/live selection to its documented rtmps://live.restream.io:1937/live endpoint. Regional hosts, alternate ports, custom services and existing secure URLs remain unchanged. The production mapping survives runtime services.json updates and retains the existing plain-URL fallback.

Endpoint evidence: Restream’s official RTMPS encoder guide, specifically its OBS screenshot, documents rtmps://live.restream.io:1937/live. On 2026-11-07 the existing endpoint checker verified TLSv1.3 with hostname/certificate validation, NetConnection.Connect.Success, and identical fake-key NetStream.Play.Stop on plain 1935 and TLS 1937. No account or media was used.

RED: 83eb5c3 builds the production mapper with its owning PCH and links real libobs/cmocka. Two of four cases fail: autodetect_uses_documented_rtmps_port and default_port_case_and_query_are_preserved. The unchanged-URL and existing-service cases pass. GREEN: 95f1e7f passes all four Restream cases; the inherited nanoStream regression binary also passes 4/4 (8/8 total). Both compile with the Tier 2 container GCC and the production PCH; 8/8 also pass loading each of the real hybrid and C reference libobs libraries (16 passing case executions total).

This is C URL selection, with no Rust port or Rust test executable. Rust Tier 1 and differential Tier 3 do not apply; native boundary coverage runs in Tier 2. No existing C tests, public headers, workflows or WebSocket plugin are edited. No real-account/media publish or real-app streaming run is claimed; this uses Refs and the issue’s account-free documentation plus endpoint acceptance path.

Validation: clang-format 22.1.3 and gersemi 0.25.0 pass on the changed native files; git diff --check is clean. One read-only clud-review reviewer reports clean and reran the focused Restream binary (4/4). SOLDR_PORCELAIN=0 ./lint passed its self-tests, formatting and Clippy feature lanes, then failed on the documented soldr refusal to build the Dylint driver under clud (no pre-deployed driver for nightly-2026-05-28). Hosted Fast Gate passed lint. No full local lint pass, full-suite run or local-gate attestation is claimed; hosted PR CI is the merge gate.

#3800 has merged; this branch is rebased onto current master and contains only the Restream RED/GREEN pair. The RED commit was rewritten from f81f662 to 83eb5c3 when dropping the now-merged nanoStream stack.

Hosted PR CI: run 42338486687 passed all reported checks, including Fast Gate (lint/tests/touched rtmp-services target), Tier 2 hybrid and C reference test lanes, and ASan.

@zackees
zackees force-pushed the fix/2216-restream-rtmps branch from f81f662 to 95f1e7f Compare November 7, 2026 04:26
@zackees
zackees marked this pull request as ready for review November 7, 2026 04:41
@zackees
zackees added this pull request to the merge queue Nov 7, 2026
Merged via the queue into master with commit a2336b8 Nov 7, 2026
48 checks passed
@zackees
zackees deleted the fix/2216-restream-rtmps branch November 7, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant