我正在尝试将音频/视频从电脑广播到智能电视,我发现的最佳解决方案是 guacamole+tigerVNC+Pulseaudio 视频很好,但没有音频
经过几天的调试,我能够在 wireshark 中看到 guacamole 和 pulseaudio 之间的 tcp 数据包,但是 tcp 流停止了,而且我在电视“或任何其他设备”上听不到任何声音。
这是来自鳄梨酱服务的日志,表明一切正常。
sudo systemctl status guacd.service
● guacd.service - LSB: Guacamole proxy daemon
Loaded: loaded (/etc/init.d/guacd; generated)
Active: active (running) since Mon 2021-10-18 02:19:53 CEST; 17min ago
Docs: man:systemd-sysv-generator(8)
Process: 2285 ExecStart=/etc/init.d/guacd start (code=exited, status=0/SUCCESS)
Tasks: 19 (limit: 19033)
Memory: 38.4M
CGroup: /system.slice/guacd.service
├─ 2319 /usr/local/sbin/guacd -p /var/run/guacd.pid
├─ 4381 /usr/local/sbin/guacd -p /var/run/guacd.pid
└─13530 /usr/local/sbin/guacd -p /var/run/guacd.pid
Okt 18 02:37:41 andrew guacd[13530]: Least significant byte first in each pixel.
Okt 18 02:37:41 andrew guacd[13530]: TRUE colour: max red 255 green 255 blue 255, shift red 16 green 8 blue 0
Okt 18 02:37:41 andrew guacd[13530]: Connecting to PulseAudio...
Okt 18 02:37:41 andrew guacd[13530]: Authorizing PulseAudio connection...
Okt 18 02:37:41 andrew guacd[13530]: Sending client name...
Okt 18 02:37:41 andrew guacd[13530]: PulseAudio now ready
Okt 18 02:37:41 andrew guacd[13530]: Will use default sink: "alsa_output.pci-0000_0b_00.4.analog-stereo"
Okt 18 02:37:41 andrew guacd[13530]: Starting streaming from "Starship/Matisse HD Audio Controller Analog Stereo"
Okt 18 02:37:41 andrew guacd[13530]: PulseAudio stream being created...
Okt 18 02:37:41 andrew guacd[13530]: PulseAudio stream now ready
我关注了鳄梨酱指南下面是在服务器 PC 上使用端口 4713 的 guacamole 和 pulseaudio 之间的 wireshark 流量的屏幕截图,但它很快就停止了,没有任何明显问题。