Allow selection of different stream variants in the player (#815)

* WIP video quality selector

* The quality selector works even though it is not pretty

* Support getting and setting variant name. Closes #743

* Sort video qualities

* Fix odd looking selected states of menubutton items

* Fix comment
This commit is contained in:
Gabe Kangas
2021-03-11 12:51:43 -08:00
committed by GitHub
parent 145744c381
commit c713e216d3
7 changed files with 185 additions and 4 deletions

View File

@@ -58,6 +58,9 @@ func Start() error {
// return the logo
http.HandleFunc("/logo", controllers.GetLogo)
// return the list of video variants available
http.HandleFunc("/api/video/variants", controllers.GetVideoStreamOutputVariants)
// Authenticated admin requests
// Current inbound broadcaster