Good morning, Marc.
So there is no way to use the REST Api to ceate the streams?
You can't use REST API to create a stream.
But you can catch a stream name via REST hook
SteamStatusEvent:
0. You add your backend application to handle StreamStatusEvent as described
here.
1. You create vod stream via JavaScript
2. Vod stream is published on server
3. Your backend application:
- receives REST hook StreamStatusEvent, catches a vod stream name
- replyes to WCS with 200 OK echo answer
- and triggers a server script that does all the REST API job: create a mixer and so on.
Here is example of "connect" REST hook implemetation, it should help to understand REST hooks concepts.
Note that this way moves almost all the job from client browser to your backend server.