srs/trunk/conf
Winlin 8df9410880
Edge: Fix HTTP-FLV 404 and RTMP late-join missing sequence headers. v8.0.2 (#4678)
Two edge-cluster regressions surfaced when validating an RTMP
origin/edge setup. Each is a small, surgical fix in its own commit.

- **HTTP-FLV play on edge always 404'd.**
`SrsHttpStreamServer::assemble()` registered the dynamic matcher only
when the mux cast was `NULL` (inverted guard), so the matcher was never
wired up. On edge the FLV mount is created lazily by the dynamic
matcher, so every HTTP-FLV client got 404. Invert the guard to register
when the mux is valid, mirroring the destructor.
(`trunk/src/app/srs_app_http_stream.cpp`)

- **RTMP players that join an edge stream after the first player fail to
decode.** After v7.0.94 (#4513) stopped creating `SrsOriginHub` on edge,
the `hub_active` gate in `SrsLiveSource::consumer_dumps()` always
evaluated false on edge. That gate guards the dump of cached
`onMetaData` + AVC sequence header + AAC sequence header + GOP cache to
a new consumer. Result: the first player attaches before the edge-pull
starts and gets headers via the live fan-out, but every subsequent
player gets coded payload with no codec config and ffmpeg aborts with
`dimensions not set` / `Could not write header`. Fall back to the meta
cache state when `hub_` is `NULL`, so the dump path runs once the
edge-pull has populated the cache.
(`trunk/src/app/srs_app_rtmp_source.cpp`)

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-19 10:53:30 -04:00
..
clion-ingest.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
clion-srt.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
clion.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
compatible.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
console.conf AI: SRT: Report video/audio codec info and frame stats in HTTP API. v7.0.117 (#4554) 2025-11-04 10:41:11 -05:00
console.ipv46.conf Support IPv6 for all protocols: RTMP, HTTP/HTTPS, WebRTC, SRT, RTSP. v7.0.67 (#4457) 2025-08-30 08:52:21 -04:00
dash.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
demo.19350.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
demo.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
docker.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
dvr.mp4.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
dvr.path.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
dvr.segment.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
dvr.session.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
edge-for-proxy.conf Edge: Fix HTTP-FLV 404 and RTMP late-join missing sequence headers. v8.0.2 (#4678) 2026-05-19 10:53:30 -04:00
edge.conf For Edge, only support RTMP or HTTP-FLV. v7.0.94 (#4513) 2025-09-27 19:35:34 -04:00
edge.token.traverse.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
edge2.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
exec.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
ffmpeg.transcode.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
force.daemon.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
forward.backend.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
forward.master.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
forward.slave.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
full.conf SRT: Enable tlpktdrop by default to prevent 100% CPU usage. v7.0.133 (#4587) (#4601) 2025-12-04 09:47:01 -05:00
gb28181.conf AI: GB28181: Remove embedded SIP server and enforce external SIP usage. v7.0.75 (#4466) 2025-09-02 09:59:40 -04:00
go-oryx-edge.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
go-oryx-edge2.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hds.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hevc.flv.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hevc.ts.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hls-encrypted-query.conf AI: HLS: Support query string in hls_key_url for JWT tokens. v7.0.120 (#4426) 2025-11-06 23:00:19 -05:00
hls.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hls.edge.conf Conf: Refine comments. 2022-05-10 22:17:55 +08:00
hls.mp4.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hls.origin.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
hls.realtime.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.aac.live.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.api.auth.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.api.dedicated.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.api.one.port.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.api.one.port2.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.api.raw.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.flv.live.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.flv.live.edge1.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.flv.live.edge2.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.heartbeat.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.hls.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.hooks.callback.conf AI: Update conf description for multiple ep for callback. #4421 2025-10-24 22:22:14 -04:00
http.mp3.live.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.server.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
http.ts.live.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.docker.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.flv.live.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.hls.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.hooks.callback.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.rtc.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.rtmp2rtc.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
https.srs.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
include.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
include.vhost.conf Update the demo config file for include directive (#2927) 2022-03-05 17:43:20 +08:00
ingest.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
ingest.rtsp.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
live.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
log-file.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
mp3.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
mp3.http.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
mp3.rtc.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
mp3.ts.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
nginx.proxy.conf Conf: Refine comments. 2022-05-10 22:17:55 +08:00
openwrt.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin-for-edge.conf Edge: Fix HTTP-FLV 404 and RTMP late-join missing sequence headers. v8.0.2 (#4678) 2026-05-19 10:53:30 -04:00
origin.cluster.edge.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin.cluster.serverA.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin.cluster.serverB.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin.cluster.serverC.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin.hls.only1.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin.hls.only2.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin1-for-proxy.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin2-for-proxy.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
origin3-for-proxy.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
prometheus.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
push.flv.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
push.gb28181.conf AI: GB28181: Remove embedded SIP server and enforce external SIP usage. v7.0.75 (#4466) 2025-09-02 09:59:40 -04:00
push.mpegts.over.udp.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
realtime.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
realtime.flv.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
regression-test-for-clion.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
regression-test.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtc.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtc.tcp.only.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtc.tcp.udp.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtc2rtmp.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtmp.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtmp.kickoff.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtmp2rtc.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtmps.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
rtsp.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
security.deny.publish.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
server.crt For #1657, Support HTTPS API 2020-11-06 15:05:01 +08:00
server.key For #1657, Support HTTPS API 2020-11-06 15:05:01 +08:00
srs.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
srt.conf SRT: Enable tlpktdrop by default to prevent 100% CPU usage. v7.0.133 (#4587) (#4601) 2025-12-04 09:47:01 -05:00
srt.shortstreamid.play.conf SRT: Enable tlpktdrop by default to prevent 100% CPU usage. v7.0.133 (#4587) (#4601) 2025-12-04 09:47:01 -05:00
srt.shortstreamid.publish.conf SRT: Enable tlpktdrop by default to prevent 100% CPU usage. v7.0.133 (#4587) (#4601) 2025-12-04 09:47:01 -05:00
srt.vlc.conf SRT: Enable tlpktdrop by default to prevent 100% CPU usage. v7.0.133 (#4587) (#4601) 2025-12-04 09:47:01 -05:00
srt2rtc.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
srt2ts.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
transcode2hls.audio.only.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
transform.edge.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00
vm.conf AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 (#4454) 2025-08-27 19:27:23 -04:00