This message was deleted.
# helpdesk
s
This message was deleted.
d
Hey, there isn't a way to limit from livekits side. However you can enforce this within your application in publish options.
f
My application is going to be open-source, the problem here is that people would then be able to use a higher bitrate and suck my Cloud traffic empty. It would be good to have an option to prevent this, is there maybe some webhook I could listen for that tells me the bitrate of their screenshares or cameras?
d
Are you saying that a user should be free to modify your client code, but at the same time be able to use your keys to connect to LiveKit Cloud? That doesn't sound like a good idea. TBH
To answer your question, we are not able to surface bitrate of other clients in real time. This is because it purely depends on what the webrtc client decides to do since bitrate is dynamic in webrtc.
i.e. it's perfect valid for a client to start sending 200kbps.. but then to boost bitrate to 4mbps.. there is no way for us to prevent that.
f
Alright, I didnt know it was that complicated, sorry for asking for something almost impossible. For your question, my Frontend in Flutter is open source while the backend is closed source. I use this approach to be a lot more transparent about what really goes on in the Frontend, so people know what the app they're using does, so there is no security risk there.
👍 1
d
Got it, thanks for clarifying. I'm always paranoid about api key/secret leaking to clients 😅