mylisabox / flutter_mjpeg

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

Support for HTTP authentication #17

Closed cybrox closed 3 years ago

cybrox commented 3 years ago

Hi, thanks for providing this project!

I've tested the streamer and it works very well with a simple MJPEG feed.

Do you have any plans to include support for HTTP Basic or even HTTP Digest authentication in the future?

jaumard commented 3 years ago

Hello, Never needed it but Basic is already supported as you can specify headers to the widgets. I don't know what HTTP Digest authentication is but if it's based on headers it's by default supported I guess. Have you tested headers field?

cybrox commented 3 years ago

Oh, sorry, I did not realize that I can pass headers as an argument. :facepalm:

I somehow just assumed the list of options in the README was exhaustive. I'll do some testing and re-open if there's still something that does not work.

jaumard commented 3 years ago

It should be exhaustive but look like it need an update :D thanks for the report!