Merge remote-tracking branch 'origin/main' into main

This commit is contained in:
vdalex
2022-04-10 01:08:55 +03:00

View File

@@ -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