You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i have been making an app and I'm running into an issue on Android when trying to connect to my RTMP server and was hoping you could point me in the right direction.What I'm doing:I'm using haishin_kit to stream to my own SRS (version 5.0.224). When I call connection.connect(rtmpUrl), the app immediately crashes on Android. I haven't tested on ios
This is the error I'm seeing in the logs:
java.lang.IllegalArgumentException: Unsupported value of type com.haishinkit.rtmp.amf.AmfEcmaArray
From the error, it looks like the server is sending back an AmfEcmaArray object that the plugin can't handle when it comes through the EventChannel.Is this a known issue, or am I doing something wrong in my implementation?
Background / Tried Steps
No response
Environment
Tested on Android, 15 and 16. Samsung s24 ultra & 25 ultra.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi, i have been making an app and I'm running into an issue on Android when trying to connect to my RTMP server and was hoping you could point me in the right direction.What I'm doing:I'm using haishin_kit to stream to my own SRS (version 5.0.224). When I call connection.connect(rtmpUrl), the app immediately crashes on Android. I haven't tested on ios
This is the error I'm seeing in the logs:
java.lang.IllegalArgumentException: Unsupported value of type com.haishinkit.rtmp.amf.AmfEcmaArray
My Setup:
haishin_kit: ^0.15.0
Flutter: 3.x
Server: SRS v5.0.224
Platform: Android & ios, haven't tested ios yet.
From the error, it looks like the server is sending back an AmfEcmaArray object that the plugin can't handle when it comes through the EventChannel.Is this a known issue, or am I doing something wrong in my implementation?
Background / Tried Steps
No response
Environment
Tested on Android, 15 and 16. Samsung s24 ultra & 25 ultra.
Beta Was this translation helpful? Give feedback.
All reactions