Versions Compared

Key

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

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 Added


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 Added


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

Image Added


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 Added


Stopping republishing

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

Image Added


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

Image Added