Updated 播放url规则 (markdown)

夏楚
2023-07-02 12:49:16 +08:00
parent 8b022f416c
commit a51eb9aa8e

@@ -55,12 +55,18 @@ rtmp类型的流媒体源也支持`http-flv`、`websocket`直播对应的url
- `wss://127.0.0.1/live/0.live.flv?vhost=somedomain.com` - `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如下 当然ZLMediaKit一般会把rtsp、rtmp流媒体源互相转换也会转换成hls/http-ts/ws-ts/http-fmp4/ws-fmp4播放的url如下
- HLS - HLS(mpegts)
- `http://somedomain.com/live/0/hls.m3u8` - `http://somedomain.com/live/0/hls.m3u8`
- `https://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` - `http://127.0.0.1/live/0/hls.m3u8?vhost=somedomain.com`
- `https://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-TS/WS-TS(后缀为.live.ts,目的是为了解决与hls的冲突)
- `http://somedomain.com/live/0.live.ts` - `http://somedomain.com/live/0.live.ts`
- `https://somedomain.com/live/0.live.ts` - `https://somedomain.com/live/0.live.ts`