This message was deleted.
# announcements
s
This message was deleted.
s
I want to live stream and save the stream.
The general idea is sort of like instagram. User (admin) creates a live feed and other users can connect to it within the same app.
b
From what I am seeing, I think this could work. Then id be scalability and see how well the backend is setup on your end to support the demand.
s
@dry-elephant-14928 could you please point me in the right direction?
Thanks @brief-refrigerator-69901.
Hosting is a challenge but for PoC we're planning on using cloud providers (GCP, DO, Linode).
Our initial stack will be Node (Typescript), React (Web) and Flutter (Mobile).
b
I feel like this would be a bit of trail & errors to see how well it reacts to the app.
m
@some-greece-49743 what do you need help with?
s
Hi @magnificent-art-43333. We started reading livekit docs and we're not clear about how to use livekit for our use case. For context: • We're going to use DO for hosting (droplet for PoC , then kubernetes). • App with 2 access roles (Flutter) ◦ Admin: Live feed creation and publishing on the same app (ie. Instagram Live) ◦ User: Can watch live and comment. • Dashboard (React) for control admin users (stop the feed, etc...) Inquiries • Which parameters do we need to configure to obtain live feed creation and publishing with flutter sdk? • Do you have deployment file to use with DO?
m
For deployment and any tips related to DO, I'll defer to @great-umbrella-58130
g
for your PoC, you can use this guide https://docs.livekit.io/deploy/vm
and once you’re ready for kubernetes, we have a helm chart https://github.com/livekit/livekit-helm
m
For the first inquiry, it sounds like in your app, you have streamers/broadcasters and viewers. The streamer/broadcaster would create a room using our Flutter SDK. If you need to fetch a list of rooms, and you aren't storing them on your own backend, you can use one of our server SDKs to obtain a list of rooms. For the viewer, they can simply connect to the same room as the broadcaster. Commenting can be facilitated through our data channel API. If you need comment history, you'll probably have to simultaneously send those to your own server/endpoint and store them in some DB.
@better-house-11852 on our team has built a livestreaming/IG Live style app using LiveKit. Perhaps he has some tips or, more likely, corrections/clarifications on something I've said above. 😝
s
Thanks @great-umbrella-58130. Do you have an example on how to deploy to DO using kubernetes?
m
👀 1
1
s
That's awesome @magnificent-art-43333. Hoping the get some tips from @better-house-11852 🙏🏿
@magnificent-art-43333, We can stream using the SDKs, right? I'm asking because some solutions only let you create a room and use obs, videolan, etc...
m
@some-greece-49743 yes, indeed.
s
🙌🏿
Where can I find info regarding data channel api?
s
😃 Thanks!
👌 1
b
Hi @some-greece-49743 my design is mostly like @magnificent-art-43333 described but for sending data I use the server data broadcast API (which I made the PR long ago 😂) then the server will broadcast message to each participants. The following is the flow of sending a message : User taps send on the app -> message goes to my websocket server (it stores the message in DB also) -> calls LiveKit server Data broadcast API -> LiveKit server sends data packets to all participants. The server API : https://docs.livekit.io/guides/server-api#senddata
s
@better-house-11852 It seems there's an issue with flutter client sdk.
m
@some-greece-49743 what's the issue you've run into?
s
It seems there are missing implementations (ie. enum TrackSubscriptionState) when using the plugin from pub. I forked the project and use it directly and there's no issue after that.
Those missing implementations aren't in the main branch so maybe there's something wrong with the hosted plugin on pub.
b
Hi @some-greece-49743 I think you are describing the same issue with here https://github.com/livekit/client-sdk-flutter/issues/76 The
main
branch has quite a few commits (new features etc) that haven’t been released yet, which is normal since we need to do some testing (but kind of overdue 😅) I will try to release a new version within a few days.
👍 2
👍🏿 1
e
@better-house-11852 Hello, When is next release?
b
Hi, sorry for the delay, we were waiting to get WebRTC M97 in this release. It should be ready this week.
🙏 1