mirror of
https://github.com/vdalex25/rtsp-to-web-player.git
synced 2025-09-27 05:08:18 +08:00
Merge remote-tracking branch 'origin/main' into main
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
there is no GUI in this project, you can add your own GUI
|
there is no GUI in this project, you can add your own GUI
|
||||||
|
|
||||||
##Install
|
## Install
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/vdalex25/RTSPtoWEBPlayer.git
|
git clone https://github.com/vdalex25/RTSPtoWEBPlayer.git
|
||||||
@@ -21,7 +21,7 @@ npm install
|
|||||||
webpack build
|
webpack build
|
||||||
```
|
```
|
||||||
it's created compiled file `dist/RTSPtoWEBPlayer.js`
|
it's created compiled file `dist/RTSPtoWEBPlayer.js`
|
||||||
##Usage
|
## Usage
|
||||||
Add script to your page
|
Add script to your page
|
||||||
```html
|
```html
|
||||||
<script src="dist/RTSPtoWEBPlayer.js"></script>
|
<script src="dist/RTSPtoWEBPlayer.js"></script>
|
||||||
@@ -36,4 +36,4 @@ const player=new RTSPtoWEBPlayer(options);
|
|||||||
player.load('ws://localhost:8083/stream/517fe9dbf4b244aaa0330cf582de9932/channel/0/mse?uuid=517fe9dbf4b244aaa0330cf582de9932&channel=0');
|
player.load('ws://localhost:8083/stream/517fe9dbf4b244aaa0330cf582de9932/channel/0/mse?uuid=517fe9dbf4b244aaa0330cf582de9932&channel=0');
|
||||||
```
|
```
|
||||||
|
|
||||||
##Options
|
## Options
|
||||||
|
Reference in New Issue
Block a user