I am using video.js to play a audio rtmp
works fine in localhost:8000 (since http)
but on website which is https it fails : with a message that it can only run on http server Or i need to secure my rtmp server(which i have no control)
I am using video.js to play a audio rtmp
works fine in localhost:8000 (since http)
but on website which is https it fails : with a message that it can only run on http server Or i need to secure my rtmp server(which i have no control)
It's not about HTTPS, it's because H5(video.js) is not able to play the RTMP stream.
Note that Flash is disabled in Chrome and other browsers right now(at 2022.01), see Adobe: Adobe Flash Player EOL General Information Page.
So, for H5 player like video.js/flv.js/hls.js, it's not able to play RTMP stream, neither HTTP nor HTTPS, you should user a media server to covert RTMP to HLS/HTTP-FLV/WebRTC, depends on your use scenario.
About live streaming players and protocols, please read this post.