OnurA
OnurA

Reputation: 651

YouTube Live Streaming in Javascript

I have some questions regarding the YouTube Live Streaming API:

Upvotes: 3

Views: 7639

Answers (1)

JAL
JAL

Reputation: 42449

Creating a Live Event and Live broadcast is language-independent, just use YouTube's Live Streaming HTTP API. Read through the Core Concepts and Life of a Broadcast guides.

Your flow might look something like this:

  1. Authenticate the user.
  2. Set up and schedule your Live Broadcast object.
  3. Start your video encoder and create a Live Stream Object.
  4. Bind your Live Stream to your Live Broadcast.
  5. Test to verify your video is going through.
  6. Set your Live Broadcast to Live.
  7. At the conclusion of your event, set your Live Broadcast to Ended.

Note that setting up your encoder is on you. Asking "How do I create an RTMP video encoder in JavaScript" (or qt) is too broad of a question for Stack Overflow.

Upvotes: 6

Related Questions