Cefsharp和视频标签WebRTC [英] Cefsharp and video tag WebRTC
本文介绍了Cefsharp和视频标签WebRTC的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用webrtc支持编写一个wpf。对相机的访问有效但页面显示不起作用。任何人都可以帮忙吗?
I'm trying to write a wpf with webrtc support. The access to the camera works but the display of the from the page doesn't. Can anyone help?
推荐答案
你可以这样做:
var cefSettings = new CefSettings();
cefSettings.CefCommandLineArgs.Add("enable-media-stream", "enable-media-stream");
Cef.Initialize(cefSettings);
这与传递命令行参数具有相同的效果
This has the same effect as passing the command line argument
这篇关于Cefsharp和视频标签WebRTC的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文