mirror of https://github.com/OpenVidu/openvidu.git
Run VNC temporaly to check recording
parent
d965739a53
commit
2716777f2b
|
@ -15,6 +15,7 @@ export COMPOSED_QUICK_START_ACTION=$1
|
|||
|
||||
if [[ -z "${COMPOSED_QUICK_START_ACTION}" ]]; then
|
||||
{
|
||||
|
||||
### Variables ###
|
||||
export RESOLUTION=${RESOLUTION:-1920x1080}
|
||||
export URL=${URL:-https://www.youtube.com/watch?v=JMuzlEQz3uo}
|
||||
|
@ -41,9 +42,9 @@ if [[ -z "${COMPOSED_QUICK_START_ACTION}" ]]; then
|
|||
|
||||
XVFB_ARGS=$(ps -eo args | grep [X]vfb)
|
||||
DISPLAY_NUM=$(echo $XVFB_ARGS | sed 's/Xvfb :\([0-9]\+\).*/\1/')
|
||||
x11vnc -noxrecord -noxfixes -noxdamage -forever -display :$DISPLAY_NUM &
|
||||
echo "Display in use -> :$DISPLAY_NUM"
|
||||
echo "----------------------------------------"
|
||||
|
||||
# Save Global Environment variables
|
||||
echo "export DISPLAY_NUM=$DISPLAY_NUM" > /tmp/display_num
|
||||
|
||||
|
|
|
@ -19,6 +19,9 @@ RUN apt-get install -y ffmpeg pulseaudio xvfb
|
|||
# Install jq for managing JSON
|
||||
RUN apt-get install -y jq
|
||||
|
||||
RUN apt-get install x11vnc
|
||||
|
||||
|
||||
# Clean
|
||||
RUN apt-get autoclean
|
||||
|
||||
|
|
Loading…
Reference in New Issue