YouTube API "User not enabled for live broadcast" while user

When creating a request to create a new broadcast, I get this error.

{ "error": { "errors": [ { "domain": "youtube.liveBroadcast", "reason": "liveStreamingNotEnabled", "message": "The user is not enabled for live streaming.", "extendedHelp": "https://www.youtube.com/features" } ], "code": 403, "message": "The user is not enabled for live streaming." } } 

But the user is on! They regularly create threads, and I don’t know how to solve this. All users of my application are ok with this, but two specific users get this error. Any ideas?

+5
source share
1 answer

The YouTube Live Streaming API allows you to create, update and manage YouTube live events . Using the API, you can schedule events (broadcasts) and associate them with video streams, which are the actual broadcast content.

The main goal of the YouTube Live Streaming API is to create, update, and manage program events through the API. There, it would be prudent for Google to insist that the authentication account be enabled in real time.

I suggest you check that it is enabled for us with the API. Remember that YouTube Api authentication is channel-based, so you may need to check which channel you authenticated with. If a user has more than one, you are probably looking at one that does not have a live stream. How to enable streaming video

While I agree, it’s strange if all you have to do is list the things you need for real-time streaming, this is similar to how the API works.

I registered this as a problem / function request. Live Streaming API: Streaming Not Enabled

+2
source

Source: https://habr.com/ru/post/1265317/


All Articles