In order to feed the player library with settings and video data, a properly formatted config object must be provided to the player. Not all parameters are required. Below you can find a minimalistic sample:
let config = {
connectionType:"direct",
stream: {
serverList: [
{ host: "yourdomain.com", application:"live", port: 443, ssl: true}
],
sourceList: [
{ protocol: "storm", streamName:"test", application:"live"},
],
},
settings: {
autoStart: true,
enabledProtocols: ["MSE"],
video: {
containerID: "videoContainer",
width: 640,
height: 360,
},
}
}
let storm = new StormLibrary(config);