mirror of
https://gitlab.crans.org/nounous/ghostream.git
synced 2024-12-21 17:02:19 +00:00
5 UDP ports are not enough
This commit is contained in:
parent
8eea7d6e4f
commit
59c47ca3e0
@ -12,6 +12,6 @@ FROM alpine:3.12
|
||||
RUN apk add --no-cache -X https://dl-cdn.alpinelinux.org/alpine/edge/community/ ffmpeg libsrt
|
||||
COPY --from=build_base /code/out/ghostream /app/ghostream
|
||||
WORKDIR /app
|
||||
# 2112 for monitoring, 8023 for Telnet, 8080 for Web, 9710 for SRT, 10000-10005 (UDP) for WebRTC
|
||||
EXPOSE 2112 8023 8080 9710/udp 10000-10005/udp
|
||||
# 2112 for monitoring, 8023 for Telnet, 8080 for Web, 9710 for SRT, 10000-11000 (UDP) for WebRTC
|
||||
EXPOSE 2112 8023 8080 9710/udp 10000-11000/udp
|
||||
CMD ["/app/ghostream"]
|
||||
|
@ -30,7 +30,7 @@ services:
|
||||
restart: always
|
||||
ports:
|
||||
- 9710:9710/udp
|
||||
- 10000-10005:10000-10005/udp
|
||||
- 10000-11000:10000-11000/udp
|
||||
volumes:
|
||||
- ./ghostream_data:/etc/ghostream:ro
|
||||
labels:
|
||||
|
@ -170,7 +170,7 @@ webrtc:
|
||||
# This range must be opened in your firewall.
|
||||
#
|
||||
#minPortUDP: 10000
|
||||
#maxPortUDP: 10005
|
||||
#maxPortUDP: 11000
|
||||
|
||||
# STUN servers, you should host your own Coturn instance
|
||||
#
|
||||
|
@ -78,7 +78,7 @@ func New() *Config {
|
||||
},
|
||||
WebRTC: webrtc.Options{
|
||||
Enabled: true,
|
||||
MaxPortUDP: 10005,
|
||||
MaxPortUDP: 11000,
|
||||
MinPortUDP: 10000,
|
||||
STUNServers: []string{"stun:stun.l.google.com:19302"},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user