-
-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Windows] app crashes as soon as voice connection is established with code 200 #529
Comments
hi, Can you try to confirm that |
yes actually the message did indeed disappear after the fix you implemented but the crashing is not solved. the only change from the implementation on other platforms that I made is in the settings: ...
settings.dtmfMode = Platform.isWindows ? DtmfMode.INFO : DtmfMode.RFC2833;
... I found this necessary since if I don't use
here is one of the issues I referenced for this fix: #408 I remember seeing another issue as well but I couldn't find it |
Thanks for the details, I think this might be another bug. |
here are some additional logs before crashing while using
I have removed some confirmation logs as it may be sensitive |
i see... that is unfortunate. is there an issue on this or will we treat this issue as the one for that bug. do you have any idea what the root cause may be? |
bug fixed for RFC2833. #534 |
i think this fixes another issue but not the crashing issue. now my app crashes with either but can confirm the error no longer appears. only a crash... |
you can try to open |
SOLVED! what great advice. thank u so much. after some digging and learning to navigate sln and visual studio I found the cause. simple callstack:
hope this helps. thank you for your efforts ❤ |
Describe the bug
when establishing an sip connection i get this warning:
[ERROR:flutter/shell/common/shell.cc(1065)] The 'FlutterWebRTC/peerConnectionEvent53367CBD-CE90-48C7-999C-20EB1E41FBD2' 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. See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
but the app only crashes after the connection has been establishedI could not find a previous issue here, but I have seen a similar issue on liveKit issue#586. I created this issue since I couldn't really apply a workaround similar to this as it seems sip_ua is tightly coupled with flutter_webrtc, and a solution couldn't come to mind. Any help would be appreciated (even alternatives for Windows) as I am currently targeting Windows after successfully deploying on MacOS.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The app does not crash, and I can proceed to use audio functionalities.
System Infomation()
Flutter SDK Version: 3.24.3
Target OS and Version: Windows 10 22H2 and Windows 11
Host OS and Version: Windows 10 22H2
The text was updated successfully, but these errors were encountered: