...
- HTTP: http://streaming.flashphoner.com:90918081/rest-api/stream/terminate
- HTTPS: https://streaming.flashphoner.com:88888444/rest-api/stream/terminate
...
- streaming.flashphoner.com - is the address of the WCS server
- 9091 8081 - is the standard REST / HTTP port of the WCS server
- 88888444 - is the standard HTTPS port
- rest-api - is the required part of the URL
- /stream/terminate - is the REST method used
REST-methods and response statuses
REST-method | Example of REST query | Example of REST response | Response statuses | |||||||
---|---|---|---|---|---|---|---|---|---|---|
/stream/terminate |
| 200 - Stream termination request is received 404 - Stream not found |
Parameters
Parameter name | Description | Example |
---|---|---|
sessionId | Unique client session identifier | /192.168.1.2:50159/192.168.1.5:8080 |
mediaSessionId | Media session identifier | 41c3f621-a847-4639 |
name | Stream name | streamName |
published | If true, the stream is published; if false, the stream is played | true |
status | Current status of the stream | PUBLISHING |
Sending the REST query to the WCS server
...