Description
I have imported all plugins and only live rtmp stream can’t play with error ‘FLASH: rtmpconnectfailure’, I use Wireshark captured the tcp datagram and compare with normal datagram, and the same steam can play with FlashMediaEncoder2.2 while failing with video.js. The datagram shows that it’s my client the one do disconnecting. The only difference between woking datagram and failing datagram is that the normal one without a ‘/’.
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue.
The rtmp stream is as follow:
options: {
sources: [
{
type: “rtmp/flv”,
src: ‘rtmp://10.100.14.38:1935/live/&XIAOYUANTEST333_0_2?code=4231422736’
}
],
techOrder: [ ‘html5’, ‘flash’]
}“
Error output
FLASH: rtmpconnectfailure
Additional Information
The big play button has shown and after I click the button the error info shows. I have also tried autoplay.
versions
“video.js”: “^7.3.0”,
“videojs-contrib-hls”: “^5.15.0”,
“videojs-flash”: “^2.1.2”,
browsers
Chrome
The query string should be part of the connection URL rather than the stream name, i.e before the
&
separator. Try this:rtmp://10.100.14.38:1935/live?code=4231422736&XIAOYUANTEST333_0_2