Skip to content

Commit 758d058

Browse files
应元东应元东
authored andcommitted
add alert
1 parent 2efc7c2 commit 758d058

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const WebRtmpPlayer = require('./WebRtmpPlayer');
22

33
//note: tcUrl是原始rtmp地址,不含流名称。参见rtmp spec
4+
alert('请在test.js中设置你的 tcUrl 参数');
45
var player = new WebRtmpPlayer('ws://127.0.0.1:1999', 'live', 'B011', 'rtmp://<rtmp_server>/<app>');
56
player.canvas.style['height'] = '100%';
67
document.getElementById("vidCont").appendChild(player.canvas);

0 commit comments

Comments
 (0)