WPF C# 代码打不开本地摄像头的问题记录
string mrl = @"dshow:// ";
string optVideo = @":dshow-vdev=Integrated Camera";
//string optaudio = @":dshow-adev=麦克风 (Realtek(R) Audio)";
string size = ":dshow-size=500";
this.vlcControl.SourceProvider.MediaPlayer.Play(mrl, optVideo, size);
但是用安装软件能打开本地的 ,暂时未找到解决方法
本文来自博客园,作者:变秃了也就变强了,转载请注明原文链接:https://www.cnblogs.com/lichangyi/p/17812585.html