Offload time server functionality to https://time.streaminginter.net.
parent
14c683a63a
commit
beb43408d1
|
@ -25,7 +25,7 @@ services:
|
||||||
CHANNEL_ID: rektnetwork
|
CHANNEL_ID: rektnetwork
|
||||||
FFMPEG_ARGS: -async 2
|
FFMPEG_ARGS: -async 2
|
||||||
FFMPEG_LOG_LEVEL: debug
|
FFMPEG_LOG_LEVEL: debug
|
||||||
UTC_TIMING_URL: "https://direct.streaminginter.net/adapt/rektnetwork/time.txt"
|
UTC_TIMING_URL: "https://time.streaminginter.net"
|
||||||
command: /usr/local/bin/ffmpeg-hls
|
command: /usr/local/bin/ffmpeg-hls
|
||||||
|
|
||||||
caddy:
|
caddy:
|
||||||
|
|
|
@ -9,8 +9,6 @@ gzip {
|
||||||
ext .m3u8 .mpd .xml
|
ext .m3u8 .mpd .xml
|
||||||
}
|
}
|
||||||
|
|
||||||
templates /time.txt
|
|
||||||
|
|
||||||
push dash.mpd *.hdr
|
push dash.mpd *.hdr
|
||||||
push hls.m3u8 *.m3u8
|
push hls.m3u8 *.m3u8
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
FROM icedream/caddy
|
FROM icedream/caddy
|
||||||
|
|
||||||
COPY Caddyfile /
|
COPY Caddyfile /
|
||||||
COPY time.txt /data/
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
VOLUME ["/data/"]
|
VOLUME ["/data/"]
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
{{.Now "2006-01-02T15:04:05Z07:00"}}
|
|
Loading…
Reference in New Issue