youtube-livestreaming-api

Can I access all live broadcasts with YouTube's LiveStreaming API?

点点圈 提交于 2019-12-12 19:05:00
问题 Meerkat allows access to all its live broadcasts via REST API. Does YouTube's live streaming API allow the same? I can see that they allow CRUD through the API for a particular user. My question is can I access all live broadcasts with the API? 回答1: You can use the Search/list endpoint of the regular YouTube v3 API and filter the results to only receive live content. Make sure to pass in the following parameters: part -> snippet eventType -> live type -> video (required when setting eventType

Youtube API v3 - Get “Live Now” rtmp and streamkey

送分小仙女□ 提交于 2019-12-12 10:55:28
问题 Youtube now has a Live Streaming section that allows users to broadcast their own live stream sessions. In this "Live Streaming" section, there are 2 options: "Live Now [Beta]" and "Events". Live Now is a fast and easy way to start a streaming session automatically just by pointing your video encoder to te specified RTMP Url and Stream Key. It will automatically detect incomming media and start broadcasting publicly. Events is pretty much the same thing, but with advance settings, although it

Streaming a YouTube live video (DASH) to Android app with ExoPlayer

与世无争的帅哥 提交于 2019-12-12 09:04:10
问题 I am making an app that can stream a live YouTube video to my app. I want to use ExoPlayer. I went through the demo app of ExoPlayer, and the URL they use in DASH streaming is something like this : "uri":"http://www.youtube.com/api/manifest/dash/id/bf5bb2419360daf1/source/youtube?as=fmp4_audio_clear,fmp4_sd_hd_clear&sparams=ip,ipbits,expire,source,id,as&ip=0.0.0.0&ipbits=0&expire=19000000000&signature=51AF5F39AB0CEC3E5497CD9C900EBFEAECCCB5C7.8506521BFC350652163895D4C26DEE124209AA9E&key=ik0"

Difference in Ingestation Settings Creating a Live Event Using YouTube API vs Web Interface

大兔子大兔子 提交于 2019-12-12 04:35:54
问题 I'm using the YouTube API (version 2) to create Live Events from my application. The events are successfully created, but users have complained that the availability of the Ingestation Settings are different for events created through the API compared to events created through the YouTube site directly. I've linked to two images to illustrate the differences: The first is how the settings look for an event created through the API. The second is how the settings look for an event created

YouTube Player API live stream duration

旧时模样 提交于 2019-12-12 03:18:31
问题 I'm using YouTube iFrame API for controlling YouTube video in my page. Biggest problem I have is with live streams which I can't get exact duration, but the biggest problem is some kind of a buffer window. For example I have a stream that is 3h long, but when a user comes in after 3 hours, he can only get the last 2 hours of the video. So first hour of the video is not accessible to the user. Does anyone knows why? And how can I get that "time window" length? Because in couple of videos that

Are tags supported in YouTube API?

∥☆過路亽.° 提交于 2019-12-12 00:17:17
问题 I'm working on an iOS app that will let you start a live YouTube broadcast. I would like to add tags to this broadcast. Looking at this page on the API documentation, I noticed that it is possible to set a value for the snippet.tags[] property, which seems to be exactly what I need. When I look at GTLYouTubeLiveBroadcastSnippet.h , however; I see the following properties: @interface GTLYouTubeLiveBroadcastSnippet : GTLObject @property (retain) GTLDateTime *actualEndTime; @property (retain)

How to broadcast a live video to YouTube channel using ReactNative in Ios/Android?

自作多情 提交于 2019-12-11 16:08:51
问题 Is it possible to broadcast a live video to YouTube channel using ReactNative in Ios/Android? 回答1: Try using this library https://www.npmjs.com/package/react-native-nodemediaclient https://github.com/NodeMedia/react-native-nodemediaclient import { NodeCameraView } from 'react-native-nodemediaclient'; ...... <NodeCameraView style={{ height: 400 }} ref={(vb) => { this.vb = vb }} outputUrl = {"rtmp://192.168.0.10/live/stream"}// out put to youTube camera={{ cameraId: 1, cameraFrontMirror: true }

Does the YouTube Data API expose multi-camera livestream functionality?

≯℡__Kan透↙ 提交于 2019-12-11 11:52:37
问题 I am trying to integrate a YouTube live event which uses multi-camera views as per Google's documentation into a site - I'd love to be able to access both camera views from the live event if possible. Does the YouTube Data API support querying the multiple different camera views? Are they listed as children of a single event? What's the returned data structure like? Or is this simply not possible - i.e. a single live event with multiple cameras will show in the API as just a standard live

Is it possible to get a list of users in a Youtube Gaming Live Stream

烈酒焚心 提交于 2019-12-11 05:07:10
问题 I am working with the Youtube Live Streaming api. I don't see this, but I am wondering if there is a way to get a list of all viewers. 回答1: If you have the specific stream's videoId you can use the undocumented live_stats endpoint to get the number of viewers: https://www.youtube.com/live_stats?v={videoid} 回答2: @JAL - your answer works great. Thanks, I have also found success using this url: Getting the live stream details (like viewer numbers) : https://www.googleapis.com/youtube/v3/videos

How do I use LiveBroadcasts:list from YouTube API?

╄→гoц情女王★ 提交于 2019-12-10 00:10:30
问题 I'm trying to use YouTube API for Live Broadcasts. But, I don't get any results. Here's what I do: Go to #Live YouTube channel: www youtube com channel / UC4R8DWoMoI7CAwX8_LjQHig Open any Live Broadcast to get Broadcast ID (for example, "CGt1Ac1gEZc"). Try to use this Broadcast ID in irb: irb(main):038:0> list = youtube.list_live_broadcasts("id,snippet,contentDetails,status", id: "CGt1Ac1gEZc") => #<Google::Apis::YoutubeV3::ListLiveBroadcastsResponse:0x0000000546a960 @etag="\