ossrs/oryx

[Question] Fail to publish stream via https

dieuhuy9199 opened this issue · 3 comments

Sorry for my English, I use srs-stack for livestreaming video, I deployed to AWS EC2, opened the port according to the instructions (8000/udp, using WebRTC - WHIP) and with http it runs fine, but after pointing the domain and configuring https with let's encrypt , the domain name has been accessed but when I published the stream I received this error (Image below). Am I missing any steps?

Screenshot 2024-01-22 at 9 34 29 AM Screenshot 2024-01-22 at 9 34 29 AM

You can choose the Chinese version, and issues can be submitted in Chinese; they will be automatically translated.

Returning to your question, have you completed the first step under Usage: opening UDP port 8000, and are you able to open WHIP streaming through a web page?

TRANS_BY_GPT4

You can choose the Chinese version, and issues can be submitted in Chinese; they will be automatically translated.

Returning to your question, have you completed the first step under Usage: opening UDP port 8000, and are you able to open WHIP streaming through a web page?

TRANS_BY_GPT4

I have solved it. I realized my domain is configured through Cloudflare, I tried editing the DNS record to "DNS Only" instead of "Proxied" and it worked. I will close this issue, thanks for replying

Yes, if you opt for Cloudflare's 'Proxied' mode, Cloudflare will handle all traffic for that domain, which certainly means UDP port 8000 will not be usable. Choosing 'DNS Only' would be the solution.

TRANS_BY_GPT4