Releases: stackia/rtp2httpd
Release list
v3.15.3
v3.15.2
- 修复 HTTP 代理无法正确处理分块传输编码的 M3U 播放列表的问题。
- HTTP 代理现在可根据
.m3u或.m3u8URL 扩展名识别并重写播放列表,即使上游返回了不准确的Content-Type。
- Fixed HTTP proxy handling of M3U playlists that use chunked transfer encoding.
- The HTTP proxy now detects and rewrites playlists by their
.m3uor.m3u8URL extension, even when the upstream server returns an inaccurateContent-Type.
v3.15.1
- 新增
--pid-file配置项,支持写入 PID 到指定文件 - 网页播放器:
- 新增“画中画模式”选项,可以切换 Document PiP(完整) 和 Video PiP(简洁)两种模式(仅限 HTTPS)
- 新增“界面风格”选项,可以切换 Fancy 和 Simple 两种风格
- Simple 风格简化了模糊、光影、动效、透明等效果,可以显著提升在低性能设备上的 UI 响应性
- 修正 MPEG-TS 直播和回看播放的码率统计,使结果不再受网络传输速度影响,反映真实媒体码率
- 优化在 LG 电视 webOS 浏览器上的性能:使用原生解码链路,不再经过 MSE
- 改进网络错误和解码错误提示,对于不支持的音频编码,明确说明是浏览器限制
- 若干性能优化,提升操作响应性
- Added the
--pid-fileoption to write the PID to a specified file - Web player:
- Added a “Picture-in-Picture Mode” option for switching between Document PiP (Full) and Video PiP (Compact) modes (HTTPS only)
- Added an “Interface Style” option for switching between Fancy and Simple styles
- Simple style reduces blur, lighting, animation, transparency, and other effects to significantly improve UI responsiveness on low-performance devices
- Fixed bitrate reporting for MPEG-TS live and catch-up playback so it reflects the actual media bitrate rather than network delivery speed
- Improved performance in LG TV webOS browsers by using the native decoding path instead of MSE
- Improved network and decoding error messages, including clearer explanations when an audio codec is unsupported due to browser limitations
- Various performance optimizations for more responsive interactions
v3.15.0
新功能
全新的视觉设计
状态面板和网页播放器的 UI 设计现已全面焕新,引入玻璃和光影元素,更具现代感和沉浸感。rtp2httpd logo、官网也同步进行了视觉焕新。
web-player.mp4
网页播放器
- 全新的视频渲染管线,画面更清晰、更流畅
- 新增“自动反交错“选项,开启后画面更稳定干净,不会再出现梳齿状条纹
- 新增“画质增强”选项,开启后将采用 AMD FSR 1 超分算法,改进高清、标清频道在现代 2K、4K 显示器上的渲染效果
- 以上特性在桌面端默认开启,在移动端默认关闭(使用了 GPU 加速,功耗较高)
- 在进度条下方显示分辨率、帧率、音视频编码、实时码率等信息
- 改进播放失败时的错误提示,引导用户查看日志
- 改进画中画(PiP)控制体验,当开启 HTTPS 时,画中画可以显示进度条和控制按钮
问题修复
- 修复工作进程崩溃后,在状态面板残留客户端连接,无法被清理问题
- 网页播放器:
- 修复在移动端,浏览器切到后台一段时间再切回来后,音视频无法同步、音频复读机问题
- 修复在移动端,点击视频有时无法唤起进度条浮层问题
- 修复部分频道由于节目源的音频延迟导致无声问题
- 手机端的锁屏/导航栏进度条,现在可以正确反映实际 EPG 播放进度,并可以切换上下频道
- 修复在 Android 设备竖屏下全屏播放无法真正全屏问题
- 改进 PWA 适配,在 HTTPS 下可以正确触发浏览器 PWA 安装流程
- 优化手机的横屏下,视频和右侧边栏对刘海屏、打孔屏的适配
- 优化解码性能、长节目列表渲染性能
对飞牛 fnOS 用户的特别提醒
如果你通过飞牛应用商店安装使用 rtp2httpd,从旧版本更新到 v3.14.1 及以上版本,可能会遇到播放失败、playlist.m3u 加载失败等问题。新版为了适配飞牛统一网关,所有 URL 需要带上前缀 /app/rtp2httpd,导致播放路径改变。因此需要调整原有的播放器配置。
参考下面例子:
组播转发:
http://<ip>:<port>/rtp/239.253.64.120:5140 -> http://<ip>:<port>/app/rtp2httpd/rtp/239.253.64.120:5140
M3U 播放列表:
http://<ip>:<port>/playlist.m3u -> http://<ip>:<port>/app/rtp2httpd/playlist.m3u
状态面板、网页播放器:
http://<ip>:<port>/status -> http://<ip>:<port>/app/rtp2httpd/status
http://<ip>:<port>/player -> http://<ip>:<port>/app/rtp2httpd/player
很抱歉在飞牛商店更新日志里没有提到此变更。我们在后续版本上架时会调整更新日志说明此变化。
New Features
A Brand-New Visual Design
The status dashboard and web player have been completely redesigned with glass and lighting effects for a more modern, immersive experience. The rtp2httpd logo and official website have also received a visual refresh.
web-player.mp4
Web Player
- A new video rendering pipeline delivers sharper, smoother video
- Added an “Auto Deinterlacing” option for a cleaner, more stable picture without combing artifacts
- Added a “Quality Enhancement” option powered by AMD FSR 1 upscaling to improve the rendering of HD and SD channels on modern 2K and 4K displays
- These features are enabled by default on desktop and disabled by default on mobile because GPU acceleration increases power consumption
- Added resolution, frame rate, audio and video codecs, real-time bitrate, and other details below the progress bar
- Improved playback failure messages to guide users to the logs
- Improved Picture-in-Picture (PiP) controls; over HTTPS, PiP can now display a progress bar and control buttons
Bug Fixes
- Fixed stale client connections remaining on the status dashboard after a worker process crashes
- Web player:
- Fixed audio/video desynchronization and repeating audio after returning to a mobile browser that had been in the background for a while
- Fixed an issue where tapping the video on mobile sometimes failed to reveal the progress bar overlay
- Fixed missing audio on some channels caused by delayed audio in the source stream
- The lock-screen and notification-area progress bar on mobile now correctly reflects the actual EPG playback position and supports switching to the previous or next channel
- Fixed fullscreen playback failing to enter true fullscreen in portrait orientation on Android devices
- Improved PWA support so the browser installation flow is correctly triggered over HTTPS
- Improved landscape safe-area handling for notches and hole-punch displays in the video and right sidebar on mobile
- Improved decoding performance and rendering performance for long program lists
Special Notice for fnOS Users
If you installed rtp2httpd from the fnOS App Store, upgrading from an older version to v3.14.1 or later may cause playback failures or prevent playlist.m3u from loading. To support the fnOS unified gateway, all URLs in newer versions must include the /app/rtp2httpd prefix, which changes the playback paths. You therefore need to update your existing player configuration.
For example:
Multicast forwarding:
http://<ip>:<port>/rtp/239.253.64.120:5140 -> http://<ip>:<port>/app/rtp2httpd/rtp/239.253.64.120:5140
M3U playlist:
http://<ip>:<port>/playlist.m3u -> http://<ip>:<port>/app/rtp2httpd/playlist.m3u
Status dashboard and web player:
http://<ip>:<port>/status -> http://<ip>:<port>/app/rtp2httpd/status
http://<ip>:<port>/player -> http://<ip>:<port>/app/rtp2httpd/player
We apologize that this change was not mentioned in the fnOS App Store update notes. We will update the notes for future releases to make this change clear.
v3.15.0-rc.1
- 修复工作进程崩溃后,在状态面板残留客户端连接,无法被清理问题
- 网页播放器:
- 在进度条下方显示分辨率、帧率、音视频编码、实时码率等信息
- 改进播放失败时的错误提示,引导用户查看日志
- 修复在移动端,浏览器切到后台一段时间再切回来后,音视频无法同步、音频复读机问题
- 修复在移动端,点击视频有时无法唤起进度条浮层问题
- 优化解码性能
v3.15.0-rc.0
- 全新的网页播放器视频渲染管线,画面更清晰、更流畅
- 支持自动反交错,画面更稳定干净,不会再出现梳齿状条纹
- 采用 AMD FSR 1 超分算法,改进高清、标清频道在现代 2K、4K 显示器上的渲染效果
- 以上特性充分利用 GPU 加速,可以在现代 PC、手机、平板上高效运行
- 改进画中画(PiP)控制体验,当开启 HTTPS 时,画中画可以显示进度条和控制按钮
v3.14.3
- 开启 TCP Keepalive,加快僵尸客户端检测,减少资源占用
- 修复 macOS/FreeBSD 当有多个网卡接口或开启 VPN 时,可能无法正常接收组播问题
- 改进网页播放器中 AC-3 / E-AC-3 音频的解封装和 MP4 重新封装
- 修复部分 AC-3 音频流无法正常播放的问题
- Enable TCP keepalive with aggressive timers to detect dead clients faster and reduce resource usage
- Fix multicast reception issues on macOS/FreeBSD when multiple network interfaces or VPN are active
- Improve AC-3 / E-AC-3 audio demuxing and MP4 remuxing in the web player
- Fix playback issues with certain AC-3 audio streams
v3.14.2
v3.14.1
新功能
- 支持写入 访问日志 到文件,便于审计和对接外部日志系统
- 支持自定义 Web 资源前缀 app-path-prefix
- 指定前缀后,所有资源和媒体地址(包括
/status,/player,/playlist.m3u,/epg.xml等)都需要加上前缀访问 - 典型场景:通过前置反代或网关,根据不同的前缀路由到不同应用,此时可配合 app-path-prefix 选项使用
- 指定前缀后,所有资源和媒体地址(包括
- 支持 监听 Unix Socket,便于和其他程序互操作
- 新增配置项 use-relative-path-in-m3u,开启后,rtp2httpd 生成的 m3u 内的 URL 将省略 http://host/ 前缀
- 适用于前置反代场景,但由于各种原因反代无法正常传入 X-Forwarded-* 头,rtp2httpd 无法得知自身完整地址
- 内置网页播放器已适配,但一些第三方播放器不兼容这种 m3u
- 网页播放器:支持单频道多分组(在 m3u group-title 使用分号分隔多个组名,例如
group-title="央视;高清")
问题修复
- 网页播放器:移除
MP2 音频软解开关,默认开启软解- 由于 Chrome 149.0.7827.197 将音频引擎从 FFmpeg 切换到了 Symphonia,导致此版本以及未来版本无法正常原生解码 MP2 音频(包括 PC / Mac / Android),因此决定移除此开关,以后只使用内置 WASM 软解方式。
- 网页播放器:优化 MP2 软解表现,响应更快,更少毛刺,音画更同步
- 网页播放器:修复偶然报错
The play() request was interrupted by a new load request.
New Features
- Added support for writing access logs to a file for auditing and integration with external logging systems
- Added a configurable web resource prefix via app-path-prefix
- When a prefix is set, all resources and media endpoints (including
/status,/player,/playlist.m3u,/epg.xml, and others) must be accessed with that prefix - Typical use case: routing different applications through a reverse proxy or gateway by path prefix
- When a prefix is set, all resources and media endpoints (including
- Added support for listening on a Unix socket for easier inter-process integration
- Added the use-relative-path-in-m3u option; when enabled, URLs in generated M3U playlists omit the
http://host/prefix- Useful in reverse-proxy setups where
X-Forwarded-*headers are unavailable and rtp2httpd cannot determine its own public URL - The built-in web player supports this format, but some third-party players do not
- Useful in reverse-proxy setups where
- Web player: added support for multiple groups per channel (use semicolons in M3U
group-title, e.g.group-title="CCTV;HD")
Bug Fixes
- Web player: removed the
MP2 audio soft decodetoggle; soft decoding is now always enabled- Chrome 149.0.7827.197 switched its audio engine from FFmpeg to Symphonia, breaking native MP2 decoding on PC, Mac, and Android in this and future versions; the toggle was removed in favor of the built-in WASM soft decoder
- Web player: improved MP2 soft decoding with faster startup, fewer glitches, and better A/V sync
- Web player: fixed intermittent
The play() request was interrupted by a new load request.errors