mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
In dockerfile, we can set the default RTC candidate to env:
```
ENV SRS_RTC_SERVER_CANDIDATE=\$CANDIDATE
CMD ["./objs/srs", "-e"]
```
When starts a docker container, user can setup the candidate by env:
```
docker run --rm -it --env CANDIDATE=1.2.3.4 ossrs/srs:5
```
We should parse the content of SRS_RTC_SERVER_CANDIDATE as env variable name and parse it again.
PICK
|
2 years ago | |
---|---|---|
.. | ||
apps.sh | 2 years ago | |
auto_headers.sh | 2 years ago | |
codecov.sh | 2 years ago | |
depends.sh | 2 years ago | |
local_ip.sh | 11 years ago | |
modules.sh | 2 years ago | |
options.sh | 2 years ago | |
reset_module.sh | 4 years ago | |
setup_variables.sh | 2 years ago | |
summary.sh | 2 years ago | |
utest.sh | 2 years ago |