YouTube Live streaming platform enables eligible channels to stream live content on YouTube.
With the addition of live streaming content to the Data API, you can make it easier for users to find information about these live streaming events:
- get search results indicating whether a video is an upcoming or active live broadcast
- get both scheduled and actual values of start and end time of the broadcast
- get concurrent viewer count of a broadcast
- search for live content via eventType filter
How to start implementing new features
- The basics
- The new snippet.liveBroadcastContent property in search results indicates whether a video or channel resource has live broadcast content. Valid property values are upcoming, active, and none.
- The video resource's new liveStreamingDetails property is an object that contains metadata about a live video broadcast. To retrieve this metadata, include liveStreamingDetails in the part parameter value's list of resource parts when calling the videos.list, videos.insert, or videos.update method. The metadata includes the following new properties: actualStartTime, actualEndTime, scheduledStartTime, scheduledEndTime, concurrentViewers.
- The search.list method's eventType parameter and the search result's snippet.liveBroadcastContent property.
- Sample code and tools
- Client libraries for many different programming languages can help you implement the YouTube Live Streaming API as well as many other Google APIs.
- The APIs Explorer lets you try out sample calls before writing any code.
Stay tuned here and subscribe to the YouTube for Developers channel to keep up on the latest.
Keep it live,