srs/trunk/src
Winlin b34255c3d0
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.

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
2023-03-27 19:24:08 +08:00
..
app WebRTC: Support configure CANDIDATE by env (#3470) 2023-03-27 19:24:08 +08:00
core Remove unneccessary NULL check in srs_freep. v5.0.150, v6.0.38 (#3477) 2023-03-25 12:09:13 +08:00
kernel Kickoff publisher when stream is idle, which means no players. v6.0.31, v5.0.144 (#3105) 2023-03-06 09:09:27 +08:00
main SRS5: Update license date to 2023. v5.0.123 2023-01-01 08:56:20 +08:00
protocol HttpConn: judge nb_chunk no memory address. (#3465) 2023-03-20 12:51:02 +08:00
utest WebRTC: Support configure CANDIDATE by env (#3470) 2023-03-27 19:24:08 +08:00