youtube-livestreaming-api

How to use YouTube API V3?

自作多情 提交于 2019-11-26 19:32:56
问题 I'm trying to figure out how to use the new YouTube API (Version 3) in my iOS app but I don't know how to do it. I did many research about it but what I found is all examples and codes for older API so they are not valid. Til now I did understand that for using the new API you have to create a Project in Google Developer Console (and I did it)... but then they send you to a page with some code on it but I really don't understand how to use it. link to google api page What I need to know is

How to check if YouTube channel is streaming live

回眸只為那壹抹淺笑 提交于 2019-11-26 17:48:29
I can't find any informations to check if a YouTube channel is actually streaming or not. With Twitch you just need the channel name, and with the API you can check if there is a live or not. I don't want to use OAuth, normally a public API key is enough. Like checking the videos of a channel I want to know if the channel is streaming. You can do this by using search.list and specifying the channel ID, setting the type to video , and setting eventType to live . For example, when I searched for: https://www.googleapis.com/youtube/v3/search?part=snippet&channelId=UCXswCcAMb5bvEUIDEzXFGYg&type

Is it possible to create event of type “Quick (using Google Hangouts On Air)” using YouTube Live Streaming API

ⅰ亾dé卋堺 提交于 2019-11-26 14:25:28
问题 As the Google+ Hangouts API has shut down, how can I create a YouTube Live Event of type Quick (Google Hangouts On Air) using the YouTube Live Streaming API? 来源: https://stackoverflow.com/questions/37979700/is-it-possible-to-create-event-of-type-quick-using-google-hangouts-on-air-us

How can I get the actual video URL of a YouTube live stream?

 ̄綄美尐妖づ 提交于 2019-11-26 10:19:16
问题 Is there a way to get the HLS URL for YouTube live streams like this one https://www.youtube.com/embed/WVZpCdHq3Qg I\'ve tried the typical get_video_info methods but they don\'t seem to work with live streams. 回答1: You need to get the HLS m3u8 playlist files from the video's manifest. There are ways to do this by hand, but for simplicity I'll be using the youtube-dl tool to get this information. I'll be using this live stream as an example: https://www.youtube.com/watch?v=_Gtc-GtLlTk First,

How to obtain a feed of comments entered through the 'chat' box during a YouTube live broadcast?

青春壹個敷衍的年華 提交于 2019-11-26 09:35:36
问题 The YouTube API enables users to obtain a comments feed, e.g. via https://gdata.youtube.com/feeds/api/videos/VIDEO_ID/comments?orderby=published . However, when I try to do just that with the video ID of a live stream, the result is always empty, no matter how many comments have been submitted. The only difference between a live video and any other video (or recording of a live stream) is that the \'comments\' section is replaced with a \'chat\' box, whose comments seem not to be available