Q: Live video broadcasting through webcam to receivers with broadcast queuing I got a project where i am working on making live broadcasts to users. I am basically PHP guy and i want to know about it. In this application PHP web application, user will log in and start a new broadcast through its webcam. The broadcast started should be viewed by the users who enter that particular channel. And user can also skip the live streaming and can move to next. What things are required in this case from PHP side?. What are the key things from PHP side else i have to use for live streaming that will access the webcam at receiver side too?. 

A: Creating Live Event and Live Broadcast API objects is language-independent, just use YouTube's Live Streaming HTTP API (rather than their data API).  Read through the Core Concepts and Life of a Broadcast guides.
Your flow might look something like this:


*

*Authenticate the user using OAuth 2 and their Google Account.

*Ensure the user's YouTube account has live streaming enabled (see this question for more info on that flow).

*Set up and schedule your Live Broadcast object.

*Start your video encoder and create a Live Stream Object.

*Bind your Live Stream to your Live Broadcast.

*Test to verify your video from your video encoder/webcam is hitting YouTube's ingestion endpoint.

*Set your Live Broadcast to Live.

*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 PHP" is too broad of a question for Stack Overflow.
