Preparing to the test

1. For the test we use:

Running a broadcast from a web camera to the WCS server

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


Stream republishing configuration

3. open the REST client. Send the /push/startup query to the WCS server and specify the identifier of the broadcast in the "streamName" parameter and the URL of the Wowza server in the "rtmpUrl" parameter:


Copy the session identifier and the name of the stream published to Wowza server from the query response:


Checking if Wowza server receives the stream

4. In a new tab open the WebRTC as RTMP web application. In the field under the "RTMP Player" window specify the URL of the Wowza server and the name of the stream you obtained on the previous step. Click "Play":


Stopping republishing

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


The RTMP player will stop showing the image then, and below the window you will see the "StreamNotFound" message: