Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

1. For the test we use:

  • the demo server at demo.flashphoner.com;
  • the Two Way Streaming web app to publish streams;
  • the Chrome browser and the REST-client to send REST queries.

Preparing to broadcasting to Youtube

2. Create a broadcast on Youtube (we assume you have activated the corresponding section in your Youtube account and successfully verified and approved the account). Copy the URL of the server and the stream key from the "Encoder settings" section:

Image Added


3. In the WCS settings file, flashphoner.properties, comment the following line:
rtmp_transponder_stream_name_prefix=rtmp_
Restart WCS.

Running a broadcast from a web camera to the WCS server

4. Open the Two Way Streaming web application. Click the Connect button, then specify the stream key from Youtube under the "Local" window, then click Publish:

Image Added


Stream republishing configuration

5. Open the REST client. Send the /push/startup query to the WCS server and in the query parameters specify the stream key in the "streamName" parameter and the Youtube server URL in "rtmpUrl":

Image Added


Image Added


Checking if Youtube receives the stream

6. On the broadcast settings page click "Advanced". On the advanced settings page, in the right corner click "View on Watch page" button:

Image Added


7. The watch page opens:

Image Added