File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,16 @@ We chose the name "WebView2CompositionControl" because it matches our naming con
6666for visual hosting WebView2, which uses the CoreWebView2CompositionController instead
6767of the CoreWebView2Controller.
6868
69+ Due to using a GraphicsCaptureSession to create a screen capture of the underlying browser processes,
70+ there may be lower framerates compared to the standard WebView2 control, and DRM videos will be unable to play.
71+
72+ Reference documentation is very similar to the existing WPF control and can be found here:
73+ https://learn.microsoft.com/en-us/dotnet/api/microsoft.web.webview2.wpf.webview2compositioncontrol?view=webview2-dotnet-1.0.2783-prerelease#remarks
74+
6975# Appendix
7076At a high level, the WebView2CompositionControl instantiates a CoreWebView2 in much the same way as
7177the regular WebView2 control, but connects to it and controls it using the CoreWebView2CompositionController
7278instead of the CoreWebView2Controller. The composition controller is given a WinComp visual to draw into,
7379and this visual is used to create a GraphicsCaptureSession. When frames from this capture session are
7480captured they are they rendered into a WPF Image element that's part of the control.
81+
You can’t perform that action at this time.
0 commit comments