mirror of https://github.com/OpenVidu/openvidu.git
openvidu-recording container update: ffmpeg 4 and autoplay policy fix
parent
f0984dc128
commit
d9abd4312c
|
@ -9,7 +9,7 @@ RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key
|
||||||
|
|
||||||
# Install media packages
|
# Install media packages
|
||||||
RUN apt-get install -y software-properties-common
|
RUN apt-get install -y software-properties-common
|
||||||
RUN add-apt-repository ppa:jonathonf/ffmpeg-3
|
RUN add-apt-repository ppa:jonathonf/ffmpeg-4
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y ffmpeg pulseaudio xvfb
|
RUN apt-get install -y ffmpeg pulseaudio xvfb
|
||||||
|
|
||||||
|
|
|
@ -83,7 +83,7 @@ touch xvfb.log
|
||||||
chmod 777 xvfb.log
|
chmod 777 xvfb.log
|
||||||
|
|
||||||
function3() {
|
function3() {
|
||||||
xvfb-run --server-num=${DISPLAY_NUM} --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome -start-maximized -no-sandbox -test-type -disable-infobars -window-size=$WIDTH,$HEIGHT -no-first-run -ignore-certificate-errors --kiosk $URL &> xvfb.log &
|
xvfb-run --server-num=${DISPLAY_NUM} --server-args="-ac -screen 0 ${RESOLUTION}x24 -noreset" google-chrome -start-maximized -no-sandbox -test-type -disable-infobars -window-size=$WIDTH,$HEIGHT -no-first-run -ignore-certificate-errors --autoplay-policy=no-user-gesture-required --kiosk $URL &> xvfb.log &
|
||||||
}
|
}
|
||||||
export -f function3
|
export -f function3
|
||||||
if [[ $CURRENT_UID != $USER_ID ]]; then
|
if [[ $CURRENT_UID != $USER_ID ]]; then
|
||||||
|
|
Loading…
Reference in New Issue