Prietaisų radimas:
$ pactl list | grep "Monitor Source"
Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
Monitor Source: bluez_sink.8C_BF_A6_BF_BC_93.headset_audio_gateway.monitor
Monitor Source: alsa_output.pci-0000_00_14.2.analog-stereo.monitor
Streaminimas
$ cvlc -vvv pulse://alsa_output.pci-0000_00_14.2.analog-stereo.monitor --sout '#transcode{acodec=mp3,ab=128,channels=2}:standard{access=http,dst=0.0.0.0:8888/pc.mp3}'
$ pactl list | grep "Monitor Source"
Monitor Source: alsa_output.pci-0000_01_00.1.hdmi-stereo.monitor
Monitor Source: bluez_sink.8C_BF_A6_BF_BC_93.headset_audio_gateway.monitor
Monitor Source: alsa_output.pci-0000_00_14.2.analog-stereo.monitor
$ cvlc -vvv pulse://alsa_output.pci-0000_00_14.2.analog-stereo.monitor --sout '#transcode{acodec=mp3,ab=128,channels=2}:standard{access=http,dst=0.0.0.0:8888/pc.mp3}'
Streamą galima pasiekti:
http://192.168.11.119:8888/pc.mp3
Šaltiniai:
https://superuser.com/questions/605445/how-to-stream-my-gnu-linux-audio-output-to-android-devices-over-wi-fi
Šaltiniai:
https://superuser.com/questions/605445/how-to-stream-my-gnu-linux-audio-output-to-android-devices-over-wi-fi