1. 投屏:参考:https://github.com/barry-ran/QtScrcpy
2.音频传送:参考:https://github.com/rom1v/sndcpy
需要准备adb和vlc
2.1 adb准备: 下载地址:https://developer.android.com/studio/releases/platform-tools.html
2.2 vlc准备
2.2.1 下载vlc: https://www.videolan.org/
2.2.2 在环境变量中加入:
export VLC="/Applications/VLC.app/Contents/MacOS/VLC"