-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
RTC: When mapping ports in Docker, changing to other ports will fail. #2907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Currently, Docker does not support changing the port because the address returned by SDP is still Workaround method:
A better solution is to set the port through environment variables or specify the port in the CANDIDATE.
|
Thank you very much! It's been resolved! I'm becoming more familiar with SRS ✌
|
This one should not be closed, it can be improved. It needs to support port mapping without changing the configuration. Changing the configuration file is a bit troublesome, especially when multiple dockers need to be started.
|
Okay, got it.
|
Fixed in SRS 5, set listen port by environment variables. |
Uh oh!
There was an error while loading. Please reload this page.
Description
SRS Version:
SRS/4.0.231(Leo)
The log of SRS is as follows:
Replay
How to replay bug?
Docker startup command
Note:
Playback method
nginx configuration

Expected Behavior (Expect)
WebRTC plays normally.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: