1. For this test we use:
2. Open the Two-way Streaming application. Publish the broadcast, then copy the identifier of the stream:
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:
Copy the identifier of the session identifier and the name of the stream republished to the WCS server from the query response:
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":
5. Send the /push/terminate query and specify the session identifier in the "mediaSessionId" parameter of the query:
The player stops displaying the picture, and there is the "FAILED" message in the bottom of the window: