Skip to content

v3.12.0

Choose a tag to compare

@stackia stackia released this 06 May 19:12
· 277 commits to main since this release
873dee7

新功能

  • 支持设置 HTTP/RTSP User-Agent header(配置项 http-proxy-user-agent / rtsp-user-agent)
  • 支持通过 RTSP Range: clock= header 来实现时移
    • 可以解决传统 URL 时移方式,在接近直播的时间点时,要不停反复请求新片段导致播放卡顿问题
    • 默认不会启用这种模式,需带上请求参数 r2h-seek-mode=range 时才会启用。具体见文档 时间处理说明
  • 状态面板支持切换带宽单位 Mbps 和 MB/s

问题修复

  • 修复 OpenWrt 构建出来的 rtp2httpd 版本号错误
  • 支持 URL path 中包含有 time placeholder 的时间处理
  • 支持另一种华为 FCC 协议版本(此协议版本不支持 NAT 穿透)
  • 改进带宽统计方式,状态面板的带宽数值现在更加准确
  • 优化 RTSP / HTTP 代理各阶段的超时处理
  • 修复流控失效问题。之前如果通过 HTTP 代理访问较大的文件,服务器如果以较快的速率发送,会导致请求中断
  • 修复在一些环境下,如果系统异常关机,重启后有可能无法创建 shared memory file 导致崩溃的问题
  • 修复在一些情况下日志输出不全的问题,例如在 Docker 内刚启动立即崩溃,会导致 Docker 无法收集到日志 (by @lark)
  • 网页播放器:修复无法匹配到 EPG 有多个 display-name 的频道

New Features

  • Support setting the HTTP/RTSP User-Agent header (configuration options: http-proxy-user-agent / rtsp-user-agent)
  • Support timeshift via the RTSP Range: clock= header
    • This avoids playback stuttering near the live edge with traditional URL-based timeshift, where the player repeatedly requests new segments
    • This mode is not enabled by default. It is enabled only when the request parameter r2h-seek-mode=range is provided. See Time Processing for details.
  • Status panel now supports switching bandwidth units between Mbps and MB/s

Bug Fixes

  • Fixed the incorrect rtp2httpd version number in OpenWrt builds
  • Added time processing support for URL paths containing time placeholders
  • Added support for another Huawei FCC protocol version (this protocol version does not support NAT traversal)
  • Improved bandwidth statistics; bandwidth values in the status panel are now more accurate
  • Improved timeout handling across RTSP / HTTP proxy stages
  • Fixed a flow control failure. Previously, when accessing large files through the HTTP proxy, requests could be interrupted if the upstream server sent data at a high rate
  • Fixed a crash that could happen in some environments after an abnormal system shutdown, where the shared memory file could fail to be created after restart
  • Fixed incomplete log output in some cases, such as when the process crashed immediately after startup inside Docker, preventing Docker from collecting logs (by @lark)
  • Web player: fixed matching channels whose EPG contains multiple display-name entries