Commit Graph

3 Commits (75ddd8f5b6c293b1b98bd027e0c3de9500a7d0c3)

Author SHA1 Message Date
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>
2 years ago
winlin d57e9c758e Docs: Migrate to ossrs.net and ossrs.io 3 years ago
winlin 1167f68165 FLV: Add realtime HTTP-FLV config 3 years ago