🔥 Golang audio/video live streaming lib/client/server. support RTMP, RTSP(RTP/RTCP), HLS, HTTP[S]/WebSocket-FLV/TS, GB28181, H264/H265/AAC/G711/OPUS, relay, cluster, record, HTTP Notify/API/UI. 直播
Home Page:https://pengrl.com/lal
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
ixugo opened this issue 7 months ago · comments
hls 播放有两种方式 http://localhost:8080/hls/<streamID>.m3u8 http://localhost:8080/hls/<streamID>/playlist.m3u8 后者的播放,在 /api/stat/group 接口中会导致产生 流 ID 不一样,根据上面图片中的函数,后者拿到的 流 id 是 playlist.m3u8。
http://localhost:8080/hls/<streamID>.m3u8
http://localhost:8080/hls/<streamID>/playlist.m3u8
/api/stat/group
playlist.m3u8
导致 sub 统计的数据不准确。
感谢PR,已经merge了。