We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2efc7c2 commit 758d058Copy full SHA for 758d058
1 file changed
test.js
@@ -1,6 +1,7 @@
1
const WebRtmpPlayer = require('./WebRtmpPlayer');
2
3
//note: tcUrl是原始rtmp地址,不含流名称。参见rtmp spec
4
+alert('请在test.js中设置你的 tcUrl 参数');
5
var player = new WebRtmpPlayer('ws://127.0.0.1:1999', 'live', 'B011', 'rtmp://<rtmp_server>/<app>');
6
player.canvas.style['height'] = '100%';
7
document.getElementById("vidCont").appendChild(player.canvas);
0 commit comments