Skip to content

v3.17.0

Choose a tag to compare

@stackia stackia released this 09 Sep 09:55
· 30 commits to main since this release
3a5dc1d

这是一个聚焦于性能优化的版本,组播转发、网页播放器的性能都得到了大幅改进。

新功能

  • 大幅优化组播转发性能:多个客户端并发观看同一频道时,CPU 占用降低 60%–80%,内存占用降低 80%
    • 性能测试表明,rtp2httpd 在所有已测试场景中的 CPU 和内存占用均低于 msd_lite
  • 网页播放器:改善启动加载速度,EPG 在后台线程解析,大型节目单不再造成启动界面和视频画面卡顿
  • 网页播放器:降低 CPU 占用并改善画质增强效果,噪点进一步降低
  • 网页播放器:当前频道的节目标题过长时自动滚动显示
  • 网页播放器:鼠标中键点击频道或节目,即可复制可直接请求的 HTTP 媒体直链
    • 便于用 FFmpeg、N_m3u8DL-RE、IDM 等下载,或在其他播放器中打开
  • 状态页强制断开连接后,会短暂拦截该客户端 IP(约 5 秒),避免播放器立刻重连
  • OpenWrt:新增 powerpc_464fp 架构软件包(如 apm821xx 设备)
  • 安装文档新增 systemd 服务单元示例

问题修复

  • M3U 播放列表:支持单个 #EXTINF 下的多个播放地址,避免遗漏后续地址
  • HTTP 代理现在遇到 302 Location 时会改写 rtsp://、rtp://、udp:// 开头的 URL,使播放器可继续通过 rtp2httpd 拉流
  • 网页播放器:回看切片按 EPG 节目边界切分,避免一次请求跨越多个节目,以提升对特定运营商的兼容性
  • 网页播放器:在 iOS / iPadOS 主屏幕 PWA 中隐藏画中画按钮(该环境下画中画无效)
  • RTSP:服务端关闭连接时不再丢失最后一段交错传输的媒体数据

This release focuses on performance: multicast forwarding and the web player are both substantially faster.

New Features

  • Significantly improve multicast forwarding performance: reduce CPU usage by 60–80% and memory usage by 80% when multiple clients watch the same channel concurrently
    • Performance tests show that rtp2httpd uses less CPU and memory than msd_lite across all tested scenarios
  • Web player: faster startup — EPG is parsed off the main thread, so large programme guides no longer freeze the startup overlay or video
  • Web player: lower CPU usage and better enhancement quality, with further noise reduction
  • Web player: automatically scroll overflowing programme titles for the current channel
  • Web player: middle-click a channel or programme to copy a directly requestable HTTP media URL
    • Useful for downloading with FFmpeg, N_m3u8DL-RE, IDM, or opening in another player
  • Force-disconnect on the status page now briefly blocks that client IP (about 5 seconds) so the player cannot reconnect immediately
  • OpenWrt: add packages for the powerpc_464fp architecture (for example apm821xx devices)
  • Installation docs now include a systemd service unit example

Bug Fixes

  • M3U playlists: support multiple playback URLs under a single #EXTINF so subsequent URLs are no longer omitted
  • HTTP proxy now rewrites 302 Location URLs that start with rtsp://, rtp://, or udp://, so players can keep pulling through rtp2httpd
  • Web player: catch-up segments now split on EPG programme boundaries, so a single request no longer spans multiple shows, improving compatibility with certain ISPs
  • Web player: hide the Picture-in-Picture button in iOS / iPadOS home-screen PWAs (PiP is a no-op there)
  • RTSP: no longer drop the last interleaved media when the server closes the connection