Create a new named stream with optional push targets. The stream name determines the RTMP ingest URL at rtmp://your-server/live/name.
Creating a stream saves it to the server’s configuration and makes its RTMP ingest URL available immediately. You can supply push targets at creation time or add them later using the targets endpoint. The stream name must be unique; attempting to create a duplicate name returns an error.