I have deploy the demo in my aliyun following the install instruction in github mediasoup-demo ,and I config the port of 4443,3000,3001,40000-49999 in console of Aliyun. Now I can open website like this : https://www.vimsvideo.com:3000, and get the page of client demo.
But the browser always hint ‘websocket connection fail’ ,and then I can’t join the meeting .
I am sure I open the port above,How can I solve this problem? Is there anything I missed?
I make the fullchain.pem and privkey.pem by using letsencrypt ,and copy it the server/certs ,it seems it work so I can open the page in chrome,but the browser can’t connect websocket, so it throw out the hint “Websocket connection fail”.
all right , I am a newer to MediaSoup , so there are so many things I have to learn.
BTW, in fact , I hope to deploy mediasoup in local network ,for my udp streams in TV Station delieve to mediasoup , to achieve a result of low latency broadcasting and decoding in H5 browser page instead of RTMP or HLS protocol . Can it do that ?
Please read the full mediasoup documentation to learn what it can do. BTW mediasoup requires RTP as input (can be WebRTC SRTP or plain RTP over UDP). No idea how your TV UDP streams are.
I look at chrome console , I found that ,the websocket cannot connect to WSS 4443, but I still don’t know how to solve it.maybe it is only related to the certificate ssl problem.