mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Fixes #3041 - Video not rendering after starting or joinng a call
- not completely sure why this happens but `reportOutgoingCall` interferes with how the WebView gets access to video streams - the call itself isn't really necessary so removing it is the simplest way forward
This commit is contained in:
committed by
Stefan Ceriu
parent
d295a1e4c2
commit
2cce310540
@@ -87,6 +87,9 @@ private struct WebView: UIViewRepresentable {
|
||||
webView.uiDelegate = self
|
||||
webView.navigationDelegate = self
|
||||
|
||||
// https://stackoverflow.com/a/77963877/730924
|
||||
webView.allowsLinkPreview = true
|
||||
|
||||
// Try matching Element Call colors
|
||||
webView.isOpaque = false
|
||||
webView.backgroundColor = .compound.bgCanvasDefault
|
||||
|
||||
Reference in New Issue
Block a user