Streaming Youtube Videos

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

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}

Can I start youtube live stream with the use of previously uploaded my youtube video?

This is not possible, you can not create a new live stream from existing YouTube videos.

What you can do is collect all of your videos, create a new live event, and stream your videos via RTMP to YouTube's ingestion endpoint.

Is it possible to allow many users to make live broadcasts using YouTube API and a single account?

In order to create the Live Event and Live Stream objects required for a livestream on YouTube, the user making those requests must be authenticated.

From the Docs:

Your application must have authorization credentials to be able to use the YouTube Live Streaming API.

Obtaining authorization credentials guide here.

Adding a live event is similar to uploading a video. The user making the upload must be authenticated in order for the video to appear on their channel.



Related Topics



Leave a reply



Submit