rtp2httpd
rtp2httpd copied to clipboard
Multicast RTP/RTSP to Unicast HTTP stream converter, with built-in web player, status dashboard, fast channel change support, and more!
部分频道可以,部分不可以。用的是http代理rtsp,手机上用aptv播放都没问题 播放界面: 附件log如下: [log.txt](https://github.com/user-attachments/files/23178447/log.txt)
v3.0.2默认设置 SO_RCVBUF 为 512KB, SO_RCVBUF可以在LuCI UI中修改吗,v3.0.2及后续版本 播放时频繁加载,前面的版本没有这个问题
在状态页面,点击断开按钮和日志级别任何一个选项都会弹出"Failed to disconnect client: Error: Request failed with status 502",使用docker安装的 YAML: services: rtp2httpd: image: ghcr.io/stackia/rtp2httpd:latest network_mode: host ulimits: memlock: soft: -1 hard: -1 volumes: - /vol2/1000/rtp2httpd/etc/rtp2httpd.conf:/etc/rtp2httpd.conf:ro - /vol2/1000/rtp2httpd/etc/rtp2.m3u:/etc/rtp2.m3u:ro command: --config...
1.用的是本地或http都尝试过,直播时播放正常,回看就会失败,已知用软件回看格式是catchup="append" catchup-source="&Playseek=${utc:yyyyMMddHHmmss}-${utcend:yyyyMMddHHmmss}",播放回看正常,用网页端提示网络错误: HttpStatusCodeInvalid。 2.更换这个参数也不正常catchup="append" catchup-source="&Playseek=${utc:YmdHMS}-${utcend:YmdHMS}" 下面是debug日志: 01:09:48 ERROR RTSP: Invalid response format 01:09:48 ERROR RTSP: Failed to receive response 01:09:48 ERROR RTSP: Socket event handling failed 01:09:48 ERROR Invalid URL...
docker应该可以直接集成ffmpeg,作者有考虑不
编译到固件出错
git clone https://github.com/stackia/rtp2httpd.git package/rtp2httpd echo "CONFIG_PACKAGE_luci-app-rtp2httpd=y" >> .config echo "CONFIG_PACKAGE_rtp2httpd=y" >> .config make[4]: Entering directory '/home/test/openwrt/build_dir/target-aarch64_cortex-a53_musl/rtp2httpd-1.0.0' make[4]: *** No targets specified and no makefile found. Stop. make[4]: Leaving directory '/home/test/openwrt/build_dir/target-aarch64_cortex-a53_musl/rtp2httpd-1.0.0'...
公网ipv6获取m3u播放列表时,列表中的ip为内网ipv4是址。导致在app中订阅playlist.m3u无法在公网ipv6下播放。但web播放器可以正常播放。设置hostname后仍然不能解决。
能否增加useragent验证或http header验证,增强直播源的安全性。rtp-token虽然有点作用,但如果订阅链接被垃圾APP分享出去,一个链接就会导致直播源暴露。我以前用其它软件时遇到过被泄露的情况。加上useragent验证或http header验证,就安全多了,就算链接地址被分享出去,没有正确的useragent或http header,仍然是安全的。我现在是在前端加了一个haproxy代理进行验证,如果有这个功能,就可以去掉haproxy了。
对于rtsp的点播资源,可否添加一个起播位置参数,比如 r2h_start=xxx , 播放时转换成 RTSP PLAY命令的Range参数,比如 Range: npt=xxxx-