I have created a new google account, then I have enabled youtube live streaming and started to stream. I have app key and access token for my user, but http get request to https://www.googleapis.com/youtube/v3/liveStreams?part=snippet&access_token=MY_TOKEN&key=MY_KEY&mine=true
is returning zero results, meanwhile at the moment I have live stream.
What to do?
Asked
Active
Viewed 352 times
1

user2757853
- 311
- 1
- 4
- 7
-
Could you figure out the problem? I'm having the same struggle at the moment – panepeter Nov 28 '17 at 16:41
2 Answers
0
Try using LiveStreams.list instead. It returns a list of video streams that match the API request parameters. There's an example for your code reference.

ReyAnthonyRenacia
- 17,219
- 5
- 37
- 56
0
I found the saving clue in this SO answer. To receive the list, one has to explicitly provide the broadcastType
parameter to the query.
Acceptable values are:
all – Return all broadcasts. event – Return only scheduled event broadcasts. persistent – Return only persistent broadcasts.
If you find this answer useful, please make sure to upvote the linked answer (as well). I just copy-pasted this.