We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b09346f commit e3a4c25Copy full SHA for e3a4c25
1 file changed
README.md
@@ -18,6 +18,7 @@
18
19
# 使用
20
```js
21
+//比如 rtmp://helloworld.com/live/abc ---> app='live', streamName='abc', rtmp_server='helloworld.com'
22
var player = new WebRtmpPlayer('ws://127.0.0.1:1999', '<app>', '<streamName>', 'rtmp://<rtmp_server>/<app>');
23
player.canvas.style['height'] = '100%';
24
document.getElementById("vidCont").appendChild(player.canvas);
0 commit comments