PHZ76 / DesktopSharing

桌面共享, 支持RTSP转发, RTSP推流, RTMP推流。
MIT License
721 stars 282 forks source link

声音采集用的WASAPI, win10上面不能用 #16

Closed o-u-p closed 4 years ago

o-u-p commented 4 years ago

win10上面需要怎么操作呢

PHZ76 commented 4 years ago

wasapi 在win10也可以用的,可以提供下其他信息或接口调用失败的信息吗

o-u-p commented 4 years ago

我把音视频数据写到文件里了, 似乎是音频只能抓一些应用的声音, 不能抓人说话的声音。 run-env.zip

PHZ76 commented 4 years ago

是的,因为人的声音是通过麦克风采集的,这里是抓声卡的声音,如果要同时听到人和应用的声音,需要把麦克风和声卡这两路音频同时采集,并做混音处理合为一路音频,这个我目前没有做。

o-u-p commented 4 years ago

但是这个声音放出来很刺耳,有点像锯齿的声音。。。