LiveStreams: list empty result

91 views
Skip to first unread message

diz...@gmail.com

unread,
Dec 13, 2016, 2:23:06 PM12/13/16
to Google APIs Explorer Users Forum
Hi!

I'm testing YouTube live streaming API using Java client libraries. 

I have a simple project which is basically the copy of ListStreams example taken from here:

I have my application registered in Google developers console. I have created a test public live stream and a test broadcast.
Everything works fine, I can broadcast video from my phone to this live stream. 

But when I try to get a list of live streams from my channel I always get an empty result. 

The funny thing is that I can successfully retrieve my channel's broadcasts using the LiveBroadcasts.java example.

But no matter what I do the list of streams is always empty.

Did anyone have similar problems ?

Cheers, Dmitry.

John Boswell

unread,
Dec 13, 2016, 4:32:56 PM12/13/16
to Google APIs Explorer Users Forum
Did you make sure you set up client_secrets.json, as described here: https://github.com/youtube/api-samples/blob/master/java/README.md. Although I don't know if this is necessary, since your steam is public, it may be.

You might have better luck asking YouTube API support specifically: https://developers.google.com/youtube/v3/live/support.

diz...@gmail.com

unread,
Dec 14, 2016, 3:49:42 AM12/14/16
to Google APIs Explorer Users Forum

Did you make sure you set up client_secrets.json, as described here: https://github.com/youtube/api-samples/blob/master/java/README.md. Although I don't know if this is necessary, since your steam is public, it may be.

Sure, client_secrets.json is there. Authrorization goes without errors, it's just I cannot get the stream list - it's always empty. I'm
new to this streaming thing maybe it has something to do with settings? I read somewhere there's so called "default stream" maybe 
it's not supposed to be in the list ?
 

You might have better luck asking YouTube API support specifically: https://developers.google.com/youtube/v3/live/support.

Yea, thank you. I'll try my luck there :)

 
Reply all
Reply to author
Forward
0 new messages