From a51eb9aa8e0b7e9a58bd2384ef642c1dd2db8e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=8F=E6=A5=9A?= <771730766@qq.com> Date: Sun, 2 Jul 2023 12:49:16 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E6=92=AD=E6=94=BEurl=E8=A7=84?= =?UTF-8?q?=E5=88=99=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 播放url规则.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/播放url规则.md b/播放url规则.md index 02727ec..00bbfb7 100644 --- a/播放url规则.md +++ b/播放url规则.md @@ -55,12 +55,18 @@ rtmp类型的流媒体源也支持`http-flv`、`websocket`直播,对应的url - `wss://127.0.0.1/live/0.live.flv?vhost=somedomain.com` 当然,ZLMediaKit一般会把rtsp、rtmp流媒体源互相转换,也会转换成hls/http-ts/ws-ts/http-fmp4/ws-fmp4,播放的url如下: -- HLS +- HLS(mpegts) - `http://somedomain.com/live/0/hls.m3u8` - `https://somedomain.com/live/0/hls.m3u8` - `http://127.0.0.1/live/0/hls.m3u8?vhost=somedomain.com` - `https://127.0.0.1/live/0/hls.m3u8?vhost=somedomain.com` +- HLS(fmp4) + - `http://somedomain.com/live/0/hls.fmp4.m3u8` + - `https://somedomain.com/live/0/hls.fmp4.m3u8` + - `http://127.0.0.1/live/0/hls.fmp4.m3u8?vhost=somedomain.com` + - `https://127.0.0.1/live/0/hls.fmp4.m3u8?vhost=somedomain.com` + - HTTP-TS/WS-TS(后缀为.live.ts,目的是为了解决与hls的冲突) - `http://somedomain.com/live/0.live.ts` - `https://somedomain.com/live/0.live.ts`