TUM-Dev / gocast

TUMs lecture streaming service.
https://tum.live
MIT License
191 stars 42 forks source link

Convert watch page players into component #1153

Open MatthiasReumann opened 1 year ago

MatthiasReumann commented 1 year ago

Is your feature request related to a problem? Please describe. As with other functionality it would make sense to implement each of the player types (cam, pres, comb, split) as a component. Additionally, it would be nice to eliminate the global array players somehow.

Describe the solution you'd like I am not sure what's the best way to implement this, but I think an abstract class which handles the base functionality (basically most functionality in web/ts/TUMLiveVjs.ts) and concrete classes handle the differences (e.g. split-view functionality) between different player types.