错误日志Invalid RTP/UDP URL format
内置播放器中播放开始会显示一条错误日志:
14:32:07 ERROR Invalid RTP/UDP URL format (must start with rtp://, /rtp/, udp://, or /udp/)
14:32:17 ERROR Invalid RTP/UDP URL format (must start with rtp://, /rtp/, udp://, or /udp/)
但是频道是能正常播放的
我的外部m3u中的格式如下:
另外请问一下epg是只通过tvg-id匹配是吗?我的epg中的频道名称和m3u中的tvg-name是一致的,但是没有加载出节目单
14:32:07 ERROR Invalid RTP/UDP URL format (must start with rtp://, /rtp/, udp://, or /udp/)
需要把日志级别调整为 DEBUG,贴上来更多信息
epg是只通过tvg-id匹配是吗
v3.0.2 已支持按照 tvg-name 和频道名字匹配
14:32:07 ERROR Invalid RTP/UDP URL format (must start with rtp://, /rtp/, udp://, or /udp/)
需要把日志级别调整为 DEBUG,贴上来更多信息
epg是只通过tvg-id匹配是吗
v3.0.2 已支持按照 tvg-name 和频道名字匹配
最新版现在直接无法加载外部m3u了,提示加载列表失败,日志如下: 15:44:51 INFO Status tracking initialized 15:44:51 INFO Listening on 0.0.0.0 port 7088 15:44:51 INFO Listening on :: port 7088 15:44:51 INFO Zero-copy: MSG_ZEROCOPY enabled for better performance 15:44:51 INFO Server initialization complete, ready to accept connections 15:44:52 INFO New client requested URL: /xxxx/status/sse?r2h-token=xxxx (method: GET) 15:44:52 DEBUG r2h-token validated 15:46:16 INFO New client requested URL: /xxxx/player?r2h-token=xxxx (method: GET) 15:46:16 DEBUG r2h-token validated 15:46:16 INFO New client requested URL: /xxxx/playlist.m3u?r2h-token=xxxx (method: GET) 15:46:16 DEBUG r2h-token validated 15:46:16 ERROR Invalid URL format (must start with /rtp/, /udp/, or /rtsp/)
是通过反代访问的吗,贴一下反代配置
是通过反代访问的吗,贴一下反代配置 反代我是用的Lucky,界面配置如下:
打开内置播放器虽然提示列表无法加载,但是playlist.m3u却是有内容的,里面的链接我用potplay是可以播放的
需要配置 rtp2httpd 的 hostname 参数为 https://你的域名:8443/
https://github.com/stackia/rtp2httpd/blob/main/docs/configuration.md#公网访问建议
还需要勾选 "使用目标地址Host请求头"
还是一样的错误:
我还试了加载本地的m3u也是报相同的错误:
而且hostname字段这样写会报错:
状态页面路径、播放页面路径,目前不支持有 / 分割的前缀。所以你需要去掉 /xxxx/player 的 /xxxx 前缀
如果一定想要实现前缀,可以考虑在 lucky 反代层面增加前缀
而且hostname字段这样写会报错
你需要清空浏览器缓存重新加载一下配置页面,luci 缓存了旧版的 UI
状态页面路径、播放页面路径,目前不支持有
/分割的前缀。所以你需要去掉/xxxx/player的/xxxx前缀
就是这个问题,去掉/xxxx部分就行了。 新版本改了这块是吧?上一个版本是可以的
一开始就没有考虑支持前缀,所以上一版本能工作是误打误撞。之前版本在反代下还会有其他问题,现在推荐是不要加前缀,即使要加前缀,只支持反代自己加的前缀(反代会去掉前缀访问后端)。
一开始就没有考虑支持前缀,所以上一版本能工作是误打误撞。之前版本在反代下还会有其他问题,现在推荐是不要加前缀,即使要加前缀,只支持反代自己加的前缀(反代会去掉前缀访问后端)。
好的,感谢! 那我开贴的问题应该就是前缀的问题了,现在播放频道没有这个错误了
一开始就没有考虑支持前缀,所以上一版本能工作是误打误撞。之前版本在反代下还会有其他问题,现在推荐是不要加前缀,即使要加前缀,只支持反代自己加的前缀(反代会去掉前缀访问后端)。
好的,感谢! 那我开贴的问题应该就是前缀的问题了,现在播放频道没有这个错误了
不好意思,开贴的错误还是存在,DEBUG日志如下: 17:12:46 INFO New client requested URL: /xxxx-status?r2h-token=xxxx (method: GET) 17:12:46 DEBUG r2h-token validated 17:12:46 DEBUG Client disconnected 17:12:46 INFO New client requested URL: /xxxx-status/sse?r2h-token=xxxx (method: GET) 17:12:46 DEBUG r2h-token validated 17:13:02 INFO New client requested URL: /xxxx-player?r2h-token=xxxx (method: GET) 17:13:02 DEBUG r2h-token validated 17:13:03 INFO New client requested URL: /playlist.m3u?r2h-token=xxxx (method: GET) 17:13:03 DEBUG r2h-token validated 17:13:03 INFO New client requested URL: /epg.xml?r2h-token=xxxx (method: GET) 17:13:03 DEBUG r2h-token validated 17:13:03 DEBUG zerocopy_queue_add_file: Queued file fd=10 offset=0 size=11804982 17:13:03 DEBUG Zero-copy: sendfile complete (11804982 bytes) 17:13:04 INFO New client requested URL: /%E5%8D%AB%E8%A7%86/%E6%B9%96%E5%8D%97%E5%8D%AB%E8%A7%86?r2h-token=xxxx (method: GET) 17:13:04 DEBUG r2h-token validated 17:13:04 INFO Service matched: 卫视/湖南卫视 17:13:04 DEBUG Creating RTP service with merged URL: 卫视/湖南卫视?r2h-token=xxxx 17:13:04 ERROR Invalid RTP/UDP URL format (must start with rtp://, /rtp/, udp://, or /udp/) 17:13:04 DEBUG FCC: Initializing FCC session and sending request 17:13:04 DEBUG FCC: Socket registered with epoll 17:13:04 DEBUG FCC State: INIT -> REQUESTED (Request sent) 17:13:04 DEBUG FCC: Request sent to server 124.232.149.47:15970 17:13:04 DEBUG FCC Response: FMT=3, result=0, signal_port=5974, media_port=0, valid_time=30, speed=0 bps, speed_after_sync=0 bps 17:13:04 DEBUG FCC: Server provided new signal port: 5974 17:13:04 DEBUG FCC: Server provided new IP: 10.255.144.7 17:13:04 INFO FCC: Server requests redirection to new server 10.255.144.7:5974 (redirect #1) 17:13:04 DEBUG FCC State: REQUESTED -> INIT (Server redirect) 17:13:04 DEBUG FCC: Initializing FCC session and sending request 17:13:04 DEBUG FCC State: INIT -> REQUESTED (Request sent) 17:13:04 DEBUG FCC: Request sent to server 10.255.144.7:5974 17:13:04 DEBUG FCC Response: FMT=3, result=0, signal_port=6293, media_port=6292, valid_time=0, speed=16.68 Mbps, speed_after_sync=12.83 Mbps 17:13:04 DEBUG FCC: Server provided new signal port: 6293 17:13:04 DEBUG FCC: Server provided new media port: 6292 17:13:04 DEBUG FCC State: REQUESTED -> UNICAST_PENDING (Server accepted request) 17:13:04 DEBUG FCC: Server accepted request, waiting for unicast stream 17:13:04 DEBUG FCC State: UNICAST_PENDING -> UNICAST_ACTIVE (First unicast packet received) 17:13:04 INFO FCC: Unicast stream started successfully 17:13:08 DEBUG FCC: Sync notification received - joining multicast 17:13:08 DEBUG FCC State: UNICAST_ACTIVE -> MCAST_REQUESTED (Sync notification received) 17:13:08 INFO Multicast: Successfully joined group 17:13:08 DEBUG Multicast: Socket registered with epoll 17:13:08 DEBUG FCC: Termination packet sent (normal flow), seqn=32446 17:13:08 DEBUG FCC: Normal termination message sent, term_seqn=32444 (+2) 17:13:08 INFO FCC: Switching to multicast stream (reached termination sequence) 17:13:08 DEBUG FCC State: MCAST_REQUESTED -> MCAST_ACTIVE (Reached termination sequence) 17:13:08 DEBUG FCC: Flushed pending buffer chain, total_flushed_bytes=82908 17:14:03 INFO New client requested URL: /xxxx-status/api/disconnect?r2h-token=xxxx (method: POST) 17:14:03 DEBUG r2h-token validated 17:14:03 INFO Disconnect requested for client 192.168.2.161:13763 via API 17:14:03 DEBUG FCC: Socket closed 17:14:03 DEBUG RTSP: Cleanup called in state 0, skipping (already cleaning up or done) 17:14:03 DEBUG RTSP: Session cleanup complete 17:14:03 DEBUG Multicast socket closed
这个 ERROR Invalid RTP/UDP URL format (must start with rtp://, /rtp/, udp://, or /udp/) 问题是个其他 bug,我会修复。
但是应该不会影响你的正常播放