Skip to content

improvement to get json playerConfig #18

@utilsites

Description

@utilsites

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.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions