Skip to content

Commit e3a4c25

Browse files
authored
Update README.md
1 parent b09346f commit e3a4c25

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
# 使用
2020
```js
21+
//比如 rtmp://helloworld.com/live/abc ---> app='live', streamName='abc', rtmp_server='helloworld.com'
2122
var player = new WebRtmpPlayer('ws://127.0.0.1:1999', '<app>', '<streamName>', 'rtmp://<rtmp_server>/<app>');
2223
player.canvas.style['height'] = '100%';
2324
document.getElementById("vidCont").appendChild(player.canvas);

0 commit comments

Comments
 (0)