Closed
Description
When having multiple RTCViewRenderer objects on the same HTML page, srcObject can be attached to a wrong HTML.VideoElement. This happens since findHtmlView() method cannot distinguish between different HTML video elements and will return an incorrect element instead of null.
Another issue related to findHtmlView() can happen when another Flutter Web Widget uses ui.platformViewRegistry.registerViewFactory() method. In this case there will be an exception since findHtmlView() element will find an HTML element and it will not be of type HTML.ViewElement.
I am going to attach a PR once the issue is created.
Metadata
Metadata
Assignees
Labels
No labels