Restreamer has a url to get player configs:
https://[restreamer-domain]/channels/[GUID]/config.js
this returns the following script file (example):
var playerConfig = {"autoplay":false,"mute":true, ... }}
I think it would be better to just return the json part, without "var playerConfig = ", that way it would be much more interoperable, without needing to instantiate script to get a var name, that is more hardcoded.
Restreamer has a url to get player configs:
https://[restreamer-domain]/channels/[GUID]/config.js
this returns the following script file (example):
var playerConfig = {"autoplay":false,"mute":true, ... }}I think it would be better to just return the json part, without "var playerConfig = ", that way it would be much more interoperable, without needing to instantiate script to get a var name, that is more hardcoded.