Repository navigation
v3.9.0
新功能
1. 网页播放器:支持将相同频道多个源聚合起来,显示为单个频道+多条线路
例如,对于下面这段 m3u,三个不同清晰度的源,将会聚合为一个频道显示在列表中,并可以切换清晰度
#EXTINF:-1 tvg-id="广东卫视" tvg-name="广东卫视" tvg-logo="https://upload.112114.xyz/logo/广东卫视4K.png" group-title="卫视",广东卫视
rtp://239.253.64.96:5140/?fcc=10.255.75.73:15970$超高清
#EXTINF:-1 tvg-id="广东卫视" tvg-name="广东卫视" tvg-logo="https://upload.112114.xyz/logo/广东卫视.png" group-title="卫视",广东卫视
rtp://239.253.64.200:5140/?fcc=10.255.75.73:15970$高清
#EXTINF:-1 tvg-id="广东卫视" tvg-name="广东卫视" tvg-logo="https://upload.112114.xyz/logo/广东卫视.png" group-title="卫视",广东卫视
rtp://239.253.64.44:5140/?fcc=10.255.75.73:15970$标清
详细文档见:https://rtp2httpd.com/guide/m3u-integration#线路标签
2. 网页播放器:频道列表显示当前正在播放的节目
频道列表现在会显示每个频道正在播放的节目,一目了然!
3. 网页播放器:手机端可添加到桌面,UI 尺寸优化(频道分组、搜索框更紧凑)
例如,在 iOS 使用 Safari 打开网页浏览器,点击右下角三个点 -> 分享 -> 添加到主屏幕,可以把网页播放器变成类似 app 一般的体验。
ScreenRecording_02-19-2026.5-49-16.AM_1.MP4
问题修复
- 修复"组播周期性重加入"功能在 IGMPv2-only 交换机下无效问题 by @tuzkiyoung
- 对于一些运营商,即便使用 RTSP TCP 传输模式,服务器也会在一段时间后主动断开连接(例如上海电信)。所以 rtp2httpd 现在也会定期发送 keep alive 请求来避免服务器会话超时断开连接。
- 之前版本只在 UDP 传输模式下发送 keep alive,现在无论 TCP/UDP 模式都会发送
- 修复 m3u 转换时,catchup-source 在 append 模式下,在一些情况下不能正确拼接问题(例如用户错误使用了
catchup-source="?playseek=xxx",但实际期望的拼接符号是&)。现在会智能选择&或?作为 catchup-source 开头,保证最终 URL 是合法的。 - 转换后的 playlist.m3u,其中的 URL 将不再进行 URL encode,这样有更好的可读性
- 经过反代的 HTTP URL 现在也会在 playlist.m3u 中以服务名替代完整 URL(和 RTP/RTSP 保持一致)
- 网页播放器:修复在回看时,因为解码失败或网络波动导致重连时,播放进度丢失问题
New Features
1. Web Player: Aggregate Multiple Sources of the Same Channel into a Single Channel with Multiple Routes
For example, given the following m3u with three sources at different resolutions, they will be aggregated into a single channel in the list with switchable quality options:
#EXTINF:-1 tvg-id="广东卫视" tvg-name="广东卫视" tvg-logo="https://upload.112114.xyz/logo/广东卫视4K.png" group-title="卫视",广东卫视
rtp://239.253.64.96:5140/?fcc=10.255.75.73:15970$超高清
#EXTINF:-1 tvg-id="广东卫视" tvg-name="广东卫视" tvg-logo="https://upload.112114.xyz/logo/广东卫视.png" group-title="卫视",广东卫视
rtp://239.253.64.200:5140/?fcc=10.255.75.73:15970$高清
#EXTINF:-1 tvg-id="广东卫视" tvg-name="广东卫视" tvg-logo="https://upload.112114.xyz/logo/广东卫视.png" group-title="卫视",广东卫视
rtp://239.253.64.44:5140/?fcc=10.255.75.73:15970$标清Detailed documentation: https://rtp2httpd.com/en/guide/m3u-integration#source-labels
2. Web Player: Channel List Shows Currently Playing Program
The channel list now displays the currently playing program for each channel at a glance!
3. Web Player: Add to Home Screen on Mobile, Compact UI (Channel Groups, Search Bar)
For example, on iOS, open the web player in Safari, tap the three dots in the bottom right -> Share -> Add to Home Screen, to get an app-like experience.
Bug Fixes
- Fixed "periodic multicast rejoin" not working on IGMPv2-only switches by @tuzkiyoung
- For some ISPs, even when using RTSP TCP transport mode, the server actively disconnects after a period of time (e.g., Shanghai Telecom). rtp2httpd now sends periodic keep-alive requests to prevent server session timeouts in all transport modes.
- Previous versions only sent keep-alive in UDP transport mode; now it is sent in both TCP and UDP modes
- Fixed catchup-source concatenation issues in append mode during m3u conversion (e.g., when the user incorrectly uses
catchup-source="?playseek=xxx"but the expected separator is&). The system now intelligently selects&or?as the catchup-source prefix to ensure valid URLs. - URLs in the converted playlist.m3u are no longer URL-encoded for better readability
- HTTP URLs going through the reverse proxy now also use service names instead of full URLs in playlist.m3u (consistent with RTP/RTSP behavior)
- Web player: fixed playback progress loss during catchup when reconnecting due to decoding failures or network fluctuations