modified
Este commit está contenido en:
@@ -35,14 +35,25 @@ const config = {
|
||||
app: 'live',
|
||||
ac: 'aac',
|
||||
hls: true,
|
||||
hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]'
|
||||
hlsFlags: '[hls_time=30:hls_list_size=5:hls_flags=delete_segments]'
|
||||
// args: '-profile:v baseline -level 3.0 -start_number 0'
|
||||
// dash: true,
|
||||
// dashFlags: '[f=dash:window_size=3:extra_window_size=5]'
|
||||
},
|
||||
// {
|
||||
// app: 'ale',
|
||||
// ac: 'aac',
|
||||
// hls: true,
|
||||
// hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]'
|
||||
// },
|
||||
// {
|
||||
// app: 'live',
|
||||
// mp4: true,
|
||||
// mp4Flags: '[movflags=faststart]'
|
||||
// }
|
||||
// {
|
||||
// app: 'live',
|
||||
// mp4: true
|
||||
// }
|
||||
]
|
||||
},
|
||||
@@ -55,7 +66,7 @@ const config = {
|
||||
// tasks: [{
|
||||
// app: 'live',
|
||||
// mode: 'push',
|
||||
// edge: 'rtmp://a.rtmp.youtube.com/live2/xvc5-mcaq-rkcu-p5fy-ep2e',
|
||||
// edge: 'rtmp://a.rtmp.youtube.com/live2/dqpj-00y7-v2vt-yrpu-em4h',
|
||||
// appendName: false
|
||||
// }]
|
||||
// }
|
||||
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
volumes:
|
||||
- ./app.js:/usr/src/app/app.js:ro
|
||||
- ./entrypoint.sh:/usr/src/app/entrypoint.sh:ro
|
||||
- ./emitir.sh:/usr/src/app/emitir.sh:ro
|
||||
- ./media:/usr/src/app/media
|
||||
- ./lists:/lists:ro
|
||||
expose:
|
||||
@@ -23,6 +24,7 @@ services:
|
||||
networks:
|
||||
mynet:
|
||||
ipv4_address: 172.14.0.101
|
||||
peertube:
|
||||
|
||||
networks:
|
||||
mynet:
|
||||
@@ -31,3 +33,6 @@ networks:
|
||||
config:
|
||||
- subnet: 172.14.0.0/24
|
||||
|
||||
peertube:
|
||||
external:
|
||||
name: peertube_mynet
|
||||
|
||||
8
production/nms/entrypoint.sh
Archivo normal → Archivo ejecutable
8
production/nms/entrypoint.sh
Archivo normal → Archivo ejecutable
@@ -4,8 +4,6 @@ apk upgrade
|
||||
apk add ffmpeg
|
||||
node app.js &
|
||||
sleep 1s
|
||||
while [ True ]; do
|
||||
for i in $(cat /lists/fanta.txt); do
|
||||
ffmpeg -loglevel quiet -re -i async:cache:"$i" -threads 2 -f flv -vcodec h264 -acodec aac rtmp://127.0.0.1/live/streaming?sign=1590502038931-b04c1d7b5bfc3dc61ddce23b2dda3649
|
||||
done
|
||||
done
|
||||
./emitir.sh /lists/domingosnegros.txt /live/streaming?sign=1591094634811-f60cc56ae2f6fe84244dd22920837c21 &
|
||||
#./emitir.sh /lists/fanta-orig.txt /live/pelis?sign=1591044906701-e424ed0f9ae4e4a9193db9177ad12aeb &
|
||||
/bin/sleep infinity
|
||||
|
||||
Referencia en una nueva incidencia
Block a user