Thu Oct 03, 2019 3:16 am
HI,Douglas6,thank u very much.
1. Itry to use "sudo usermod -a -G audio root" command ,but there was still no sound.
2. As u said, I modified '/etc/asound.conf' file.
pcm.bluetooth {
type bluetooth
device my-btaddr
}
3.My current application environment is nginx+php7,I want to call 'mplayer-ao SDL ' command to play audio in PHP program. I know that the web user is www-data, and also add the www-data user to the audio and Bluetooth user groups, but there is no sound.
Looking forward to your advice,tks agin.
Last edited by
sparkwang on Thu Oct 03, 2019 3:49 am, edited 1 time in total.