Cefsharp and video tag WebRTC

后端 未结 2 2012
闹比i
闹比i 2021-02-10 21:50

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:28

    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

提交回复
热议问题