mylisabox / flutter_mjpeg

Flutter widget to show mjpeg stream from URL
BSD 2-Clause "Simplified" License
30 stars 23 forks source link

Getting timeout error in mjpeg stream on Android #31

Open TechHelper opened 1 year ago

TechHelper commented 1 year ago

I am just trying to play the stream normally. But getting an error immediately as shown in the screenshot. IMG-20230609-WA0026~2

jaumard commented 1 year ago

look there is a connexion issue, not sure what I can do for you here

TechHelper commented 1 year ago

@jaumard when i simulate my android phone's camera as ip camera then it works. but not working for actual ip camera stream.

jaumard commented 1 year ago

What I would do is to open the browser and put the camera ip to see if it works on an android browser, if yes it should work on your app. But my guess is that it will not work even on a browser so you should try to fix that first. Or maybe your stream is in http and you need to set up specific security rules on your app to allow non secure connexions.

TechHelper commented 1 year ago

@jaumard It is working in a browser and native Android app using niqdev ipcam view library. But not working in flutter app. There are no security rules.

cybrox commented 1 year ago

@TechHelper What make/model of IP camera are you using?