Versions Compared

Key

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

Table of Contents

Preparing to the test

1. For this test we use:

  • the demo server at demo.flashphoner.com;
  • the Two Way Streaming web application to publish streams;
  • the Chrome browser and the REST client to send REST queries.
  • the Player web application to play the stream on the target WCS server.

Running a broadcast from a web camera to the WCS server

2. Open the Two-way Streaming application. Publish the broadcast, then copy the identifier of the stream:

Image Removed

Stream republishing configuration

3. Open the REST client. Send the /push/startup query to the WCS server specifying the identifier of the broadcast in the "streamName" parameter and the URL of the WCS server the stream is republished to in the "rtmpUrl" parameter:

Image Removed

Copy the identifier of the session identifier and the name of the stream republished to the WCS server from the query response:

Image Removed

Checking if the WCS server receives the stream

4. On the target WCS server open the Player application. Set the URL of the WCS server and the stream name from the previous step in the "Stream" field. Click "Play":

Image Removed

Stopping republishing

5. Send the /push/terminate query and specify the session identifier in the "mediaSessionId" parameter of the query:

Image Removed

The player stops displaying the picture, and there is the "FAILED" message in the bottom of the window:

Image Removed

Include Page
WCS5EN:Republishing to WCS
WCS5EN:Republishing to WCS