In LiveKit, when I generate an ingress. Do I get c...
# ask-ai
r
In LiveKit, when I generate an ingress. Do I get charged from the time of the creation? Or when someone actually uses it?
t
Thanks for reaching out, Shreyansh. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Thanks for reaching out! When it comes to billing for an ingress in LiveKit, it actually depends on the type of ingress you’re using: • For RTMP and WHIP inputs, billing kicks in once the ingress is actively being used—like when you start streaming and the ingress moves into an active state. • For URL_INPUT type ingresses, billing begins right after creation since the service starts fetching and transcoding immediately. If you have a particular ingress type in mind, just let me know! I’m here to help and can share more details to make things clearer for you. Sources: Ingress overview | LiveKit Docs | protobufs/livekit_ingress.proto
r
what are different Ingress Status what does Inactive means?
t
Let me walk you through the different ingress statuses you might see in LiveKit: • ENDPOINT_INACTIVE: This means the ingress endpoint has been created but isn’t currently receiving or publishing any media. Think of it as the starting point or a resting state for the ingress. • ENDPOINT_BUFFERING: Here, the ingress is getting ready and buffering before it starts publishing. • ENDPOINT_PUBLISHING: At this stage, the ingress is actively publishing media. • ENDPOINT_ERROR: This status indicates something went wrong with the ingress. • ENDPOINT_COMPLETE: This means the ingress has finished its process successfully. Specifically, the 'Inactive' status (ENDPOINT_INACTIVE) tells us the ingress isn’t currently in use. It’s usually the default state when you first create an ingress or after it has stopped. If you ever have questions about these or need help, feel free to ask—I’m here to help! Sources: livekit/livekit_ingress.pb.go | pkg/service/ioservice_ingress.go
r
So when I delete the ingress what is the status there?
t
When you delete an ingress in LiveKit, its status gently changes to ENDPOINT_INACTIVE before it’s fully removed from the system. Plus, an analytics event of type INGRESS_DELETED is triggered to keep a helpful record of the deletion. If you have any questions about this process, I’m here to help! Sources: pkg/service/redisstore.go
r
is there any charge on generating the ingress keys?
t
Thanks for reaching out! I wanted to let you know that generating ingress keys in LiveKit doesn’t come with a direct charge. Instead, the costs are based on how much you use the service—things like connection minutes, bandwidth, and transcoding. So, you can feel comfortable creating keys without worrying about extra fees for that step. If you have any more questions, I’m here to help! Sources: Mini tutorial: setting up a LiveKit Cloud project | Understanding LiveKit Cloud Pricing
r
There is no stream running with ingress right now, still why then it says that Concurrent ingress request is 107? Am I missing something here?
t
Thanks so much for reaching out! To help us get to the bottom of why the peak usage for concurrent ingress requests is showing as 107, could you share a bit more about your setup? For instance: • Have there been any recent tests or streams that might have contributed to this peak usage? • Are there any automated processes or integrations that could be generating ingress requests? With these details, we’ll be in a much better position to understand what’s going on and assist you effectively.