-
Notifications
You must be signed in to change notification settings - Fork 41
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
Samsung Crash #29
Comments
Did some more testing, Crash seems to happen once controller get's initialised. |
Hi, |
Hi, I have a basic app, the main page has a button to navigate to the example LiveViewPage. It seems to be when the controller gets initialised. |
Could you share your application with us? so we quickly debug it. |
Sure, Here is the link: |
Hi, Just a follow up. Tested your example app, and app still crashes. Here is the logs: D/ViewRootImpl@469b22aMainActivity: MSG_WINDOW_FOCUS_CHANGED 0 Build fingerprint: 'samsung/heroltexx/herolte:8.0.0/R16NW/G930FXXU8ETI2:user/release-keys' |
Another update: Tested it on a Samsung S9, same issue. More logs: E/flutter ( 4077): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, null, null, java.lang.NullPointerException |
Another update: Tested example app on an HTC one phone, everything worked. Issue might be Samsung related? |
Hi, This issue is not going to be easy. Also what method throws this crash? Could you try to reproduce it with the native library as it would be easier to debug https://github.com/ThibaultBee/StreamPack/suites/11387220558/artifacts/586054880 |
Thanks for the reply, I'll test the native library and let you know. It's the initialise method on the controller that throws the crash. |
Just tested the native app, and everything worked fine. |
As it is described in this bug, it seems to be related to a race condition. |
Do you have any suggestions for how we can go about trying to fix this? We really love your package, but cannot use it without Samsung support. |
I understand, but I am sorry to say that I don't see anything to fix the issue you face. |
I understand. Do you think if we build a native view for android that shows the streamPack view inside our flutter app, that it might work? |
This is what this library is doing |
So there is no way to work around this issue? |
Quick update: Tested it on a Samsung Galaxy S9 Plus, and it worked. All the phones that had this issue ran on Android 8.0.0 |
Hi, I don't have a phone with Android 8.0.0. I just tested with a Pixel 6 Android 8.0 emulator but it does not crash. |
This issue is supposed to be fixed in the main. It was due to a force unwrap of a About your initial ssl issue (the one with |
Version
v1.1.1
Which operating systems have you used?
Environment that reproduces the issue
Physical Samsung Galaxy S7
Is it reproducible in the example application?
Yes
RTMP Server
'rtmp://global-live.mux.com:5222/app/
Reproduction steps
Use example provided
Expected result
App should not crash
Actual result
App crashes
Additional context
No response
Relevant logs output
The text was updated successfully, but these errors were encountered: