8000 Multiple RTCVideoRenderer objects on the same Flutter Web HTML page · Issue #259 · flutter-webrtc/flutter-webrtc · GitHub
[go: up one dir, main page]

Skip to content
Multiple RTCVideoRenderer objects on the same Flutter Web HTML page #259
Closed
@leonidl

Description

@leonidl

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0