rtmp streamer 报错publish is not a function是引用swf文件不正确,将swf文件放在static文件夹下通过src="/static/RtmpStreamer.swf"即可正确访问。
<object>
<embed
id="rtmp-streamer"
src="/static/RtmpStreamer.swf"
bgcolor="#999999"
quality="high"
width="320"
height="240"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
/>
</object>
————————————————
版权声明:本文为CSDN博主「夏色吹雪」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/ooohana_/article/details/105087506
网友评论