1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00
srs/trunk/auto
Winlin fdaab863dc WebRTC: Support configure CANDIDATE by env (#3470)
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 b34255c3d0

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
2023-03-27 19:25:20 +08:00
..
apps.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
auto_headers.sh FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2023-01-06 17:44:00 +08:00
codecov.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
depends.sh WebRTC: Support configure CANDIDATE by env (#3470) 2023-03-27 19:25:20 +08:00
local_ip.sh update readme. 2014-03-23 18:03:24 +08:00
modules.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
options.sh Support configure for generic linux. v5.0.145, v6.0.32 (#3445) 2023-03-07 19:12:06 +08:00
reset_module.sh Moduels: Refine the description 2021-04-21 11:18:35 +08:00
setup_variables.sh Script: Discover version from code. 2022-12-28 14:32:18 +08:00
summary.sh For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246) 2022-11-18 23:02:38 +08:00
utest.sh For #2532: Windows: Support CYGWIN64 for SRS (#3255) 2022-11-20 12:29:57 +08:00