DEV Community

George
George

Posted on

Can you stream video / audio to a back-end API?

I'm fairly new in Flutter.

My question is if it's possible to do video streaming with Flutter? Similar to YouTube Live where the video is streamed to their servers and later can be accessed on the website.

My setup would be similar to that, but instead I'd like to save the video stream data on my server using Go as the back-end API.

Top comments (4)

Collapse
 
defman profile image
Sergey Kislyakov

Sure you can. For example, Twitch uses RTMP to receive stream data and HLS to distribute it to viewers. If you're going to simply save the stream on disk, then RTMP should be enough. If you'd want to distribute it, then you should use either HLS or DASH.

Collapse
 
feketegy profile image
George

I just want to receive it, thanks for your reply! Do you know any good RTMP plugins for Flutter?

Collapse
 
defman profile image
Sergey Kislyakov

Unfortunately I don't. You may try to google "Flutter HLS" or "Flutter RTMP", I'm sure there are plugins for that.

Collapse
 
baskarmib profile image
Baskarrao Dandlamudi

You can also check Cloudinary if it suits your requirement. cloudinary.com/solutions/video_man...