Skip to content

improvement to get json playerConfig #18

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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