Let us take a look at operation of REST method through the example of the /publishStream method.
In the test interface of Streamer, a user sends a video stream to the WCS server.
Upon clicking the Start button, the interface invokes the stream.publish() function that begins broadcasting.
Here is a step-by-step diagram of publishing and invoking the publishStream REST method:
The final result is the PUBLISHING status displayed on the web page:
Invocation of the /publishStream method (step 2) looks as follows when the HTTP protocol is analyzed in Wireshark:
Request | Response | ||
---|---|---|---|
|
|