mpromonet / webrtc-streamer

WebRTC streamer for V4L2 capture devices, RTSP sources and Screen Capture
https://webrtcstreamer.agreeabletree-365b9a90.canadacentral.azurecontainerapps.io/?layout=2x2
The Unlicense
2.83k stars 582 forks source link

After adding the -c parameter, the error net::ERR_SSL_PROTOCOL_ERROR is still reported. #591

Closed 1s1u closed 1 year ago

1s1u commented 1 year ago

After installing the docker image on my server, I started webRtc-streamer through the command line, but the error net::ERR_SSL_PROTOCOL_ERROR was still reported. Doesn’t the certificate have two parameters? Why is there only one variable after -c. It is also possible that there is a problem with the parameters after -c. I would also like to ask you how to add parameters to -c.

1s1u commented 1 year ago

how tov write the correct format for -c image

elliott3 commented 1 year ago

如果证书参数的格式正确的话,需要安装和配置openSSL Except for correct format of certificate, you also need to install and config openSSL

yangjieshao commented 1 year ago

https://github.com/mpromonet/webrtc-streamer/issues/505

Except for correct format of certificate, you also need to install and config openSSL

yangjieshao commented 1 year ago

Don't bother, just use Nginx to forward it.

mpromonet commented 1 year ago

對不起,我的中文很有限

blwinner commented 4 months ago

thanks for your amizing work. he start webrtc-streamer by docker, and get error code: net::ERR_SSL_PROTOCOL_ERROR, so his question is : argument '-c' only one input, and create credential need two (i dont understant too:)), how can he start with '-c' in detail

mpromonet commented 4 months ago

Hi @blwinner,

Did you look to https://github.com/mpromonet/webrtc-streamer/discussions/592 ?

Best Regards, Michel.

tangxinqi0218 commented 1 month ago

Don’t bother, just use Nginx to forward it.

Yes, configuring forwarding can be done in minutes