Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[bug] Crash when join room on Windows #586

@thaidmfinnick

Description

@thaidmfinnick

Describe the bug
When I start call from Windows, it throws:
[ERROR:flutter/shell/common/shell.cc(1055)] The 'FlutterWebRTC/Texture1515781191712' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel If I call in app productions, my app crashes immediately.

It seems relevant to many issues from WebRTC:
flutter-webrtc/flutter-webrtc#1580
flutter-webrtc/flutter-webrtc#1465
flutter-webrtc/flutter-webrtc#1525

To Reproduce
Just call from Windows platform with Livekit Client (v2.2.5)

Expected behavior
Can call from Windows. I cannot call from Windows after migrating Livekit from v1.x to v2.x
Platform information

  • Tested on Windows 10, Windows 11
  • Flutter version: Flutter v3.22.3
  • Plugin version: Livekit v2.22.5

Thank you and hope you reply!

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