I am writing a chat bot for my channel. It has six webcams and adding more soon. The bot will enable viewers to move the cameras around and take snapshots by entering commands into the live chat. However, for this to work well, I need to query the API every few seconds. I'm concerned that I will run into rate limits. I found a page with a calculator but it doesn't have any of the live chat API calls listed. Is there a rate limit to call the YouTube Live Streaming API (Live Chat Messages)?
thank you in advance
Related
I am building an app which does live streaming to Youtube channel using an embedded player. So i want to know if it violates the policy of Youtube since I am using a different application to do live to the youtube Also, all the application users will stream to a single youtube channel, so any idea in how many live streams can take place at a time?
It was stated in the Broadcast and Stream documentation of the YouTube API that "only one event is live at any given time, and the video content for each broadcast is unique". To learn more about policy, you can read the YouTube API developer policies.
I'm providing management of live streaming to the International Sporting Competition. At the request of the client we're using YouTube as a delivery platform. I've built an interface so the events and stream keys can be easily managed outside of the Youtube API. Ideally I would like to insert all events, so end users can have a direct link to the YouTube event.
After inserting 30 events (inserting at a rate of 1 per second) I seem to have hit an undocumented limit. I get a 403 error "request not authorised". I can still use the credentials for other actions so I have not crossed the global quota for the user or the account.
Unfortunately the Youtube API increase form is broken so I cannot contact Youtube there and request a rate increase.
Looks like there's a limit of 50 liveBroadcast.inserts(). This may be per 24 hour period I will confirm tomorrow. The web gui confirms that it is denying my requests because I have made too many live events and to try again "later".
I want to create a basic app that allow users to simply start to broadcast a video through their phone camera (front and back) just by pressing a button.
Does the YouTube live stream API allow me to handle the video streaming process?
If so, is YouTube Live Stream API totally free of charges and will never ask me to pay something if I reach a certain amount of usage?
Creating a Live Event and Live broadcast is language and hardware agnostic, just use YouTube's Live Streaming HTTP API. Read through the Core Concepts and Life of a Broadcast guides.
Your flow might look something like this:
Authenticate the user.
Set up and schedule your Live Broadcast object.
Start your video encoder and create a Live Stream Object.
Bind your Live Stream to your Live Broadcast.
Test to verify your video is going through.
Set your Live Broadcast to Live.
At the conclusion of your event, set your Live Broadcast to Ended.
Note that setting up your encoder is on you. Asking "How do I create an RTMP or DASH video encoder for [hardware or software]" is too broad of a question for Stack Overflow.
The YouTube API is free to use within a specific quota. If you hit that quota limit, there are ways to request additional quota from Google (potentially for a fee).
I answered a similar question about integrating with YouTube's Live Streaming API on iOS here: YouTube live on iOS?
I use youtube-api to play youtube videos in my android app.
In https://console.developers.google.com ,they said
Free quota
50,000,000 units/day
My aim is to play only videos, i dont want any other information from youtube.
so, How much units it will cost to play a single video in my app?
Thanks.
Depends on the data your call to the API request. The documentation states what the cost is. On average its 1 to read data
Use this link as it gives you a cost quota
https://developers.google.com/youtube/v3/getting-started#quota
Tip. Only add part parameter you need
At 50,000,000 you don't have to worry though 😂😂
I need to create an application that will automatically publish multiple video streams on different youtube channels of my clients.
can I publish applications from one stream to different channels or one application - one channel?
can I concurrently publish several independent live events per channel? what are the restrictions on the number of concurrent events?
By default, for the YouTube Data API v3 i have 3,000.0 units/second/user Per-User Limit. What this means? Do I understand correctly, that every client will be able to see the live broadcast, that i created through this api is not more than 3'000 seconds?