Monday, 15 May 2017

youtube.liveBroadcast Request is not authorized

I am developing a live-streaming application and trying to use Youtube's API to stream, however I ran into a problem, where after a certain amount of broadcasts (after creating about 10) I get an error:

{ domain: 'youtube.liveBroadcast',
   reason: 'insufficientLivePermissions',
   message: 'Request is not authorized',
   extendedHelp: 'https://developers.google.com/youtube/v3/live/docs/liveBroadcasts/insert#auth_required' }

I googled the same problem and it seems that this is not really an auth issue, I am not the only person who has ran into this.

I am working on the piece of code that handles creating Broadcast and Stream and binding them, however I only had 10 tries to test my code. I checked back 7 hours after I got this restriction and it was still there. My broadcasts have unlisted status, I am good with my API usage quota. I have created a second Youtube to keep developing, but it had the same problem after another 10 broadcasts. I can't create any more accounts because you can only have 2 associated with 1 phone number.

Is there any way to work with these methods in development mode, where there's no such limit? Or is there any other way to bypass this restriction?

I hope for your advice to keep developing.



via Oleg Berman

No comments:

Post a Comment