Cefsharp and video tag WebRTC

后端 未结 2 769
萌比男神i
萌比男神i 2021-02-10 21:46

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?

2条回答
  •  旧巷少年郎
    2021-02-10 22:39

    You can do something like this:

    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

提交回复
热议问题