Skip to content

Commit

Permalink
--pulseaudio=tcp: remove experimental code #417
Browse files Browse the repository at this point in the history
  • Loading branch information
mviereck committed Feb 24, 2022
1 parent 373f59c commit 8d122f8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions x11docker
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# Run 'x11docker --help' or scroll down to read usage information.
# More documentation at: https://github.com/mviereck/x11docker

Version="7.1.1-beta-6"
Version="7.1.1-beta-7"

# --enforce-i: Enforce running in interactive mode to allow commands tty and weston-launch in special setups.
grep -q -- "--enforce-i" <<< "$*" && case $- in
Expand Down Expand Up @@ -7353,9 +7353,7 @@ $(tail "$Xpraclientlogfile")"
start_pulseaudiotcp() { # option --pulseaudio=tcp: load Pulseaudio TCP module authenticated with container IP
local Containerip
Containerip="$(storeinfo dump containerip)"
#Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp listen=${Containerip:-"127.0.0.1"}" )"
Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp port=$Pulseaudioport listen=${Containerip:-"127.0.0.1"}" )"
# Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp port=$Pulseaudioport auth-ip-acl=${Containerip:-"127.0.0.1"}" )"
Pulseaudiomoduleid="$(unpriv "pactl load-module module-native-protocol-tcp port=$Pulseaudioport auth-ip-acl=${Containerip:-"127.0.0.1"}" )"
[ "$Pulseaudiomoduleid" ] && {
storeinfo "pulseaudiomoduleid=$Pulseaudiomoduleid"
} || note "Option --pulseaudio: command pactl failed.
Expand Down

0 comments on commit 8d122f8

Please sign in to comment.