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);

但是用安装软件能打开本地的 ,暂时未找到解决方法

猜你喜欢

转载自blog.csdn.net/qq_42314865/article/details/129107186
今日推荐