TUM-Dev / gocast

TUMs lecture streaming service.
https://live.rbg.tum.de/
MIT License
177 stars 41 forks source link

1032 option to make beta default mode #1328

Closed Mjaethers closed 2 months ago

Mjaethers commented 4 months ago

Motivation and Context

Closes #1032. Many users prefer the beta stream mode, so it makes sense for there to be a user option that makes this the default.

Description

Toggling the "Always use beta Stream when Available" option in the user settings will change the json value in the db for that user setting. When the WatchPageData is being prepared this user setting is checked and if the default stream mode is set to beta, then the dvr value is set (in the same way it is if the URL contains the dvr query)

Steps for Testing

Prerequisites:

  1. Log in
  2. Navigate to Settings
  3. Enable the "Always use beta Stream when Available" option, notice the value in the db has updated
  4. Disable the option and the db will also have been updated

As for testing whether beta stream mode is actually used: that is something I cannot do locally.

Screenshots

image

github-actions[bot] commented 4 months ago

Your Testserver will be ready at https://1328.test.live.mm.rbg.tum.de in a few minutes.

Logins | Kurs1 | Kurs2 | Kurs3 | Kurs4 | | ---------------------------------------- | ------------------------- | ------------------------- | ------------------------- | | public | public | loggedin | enrolled | | prof1 | prof1 | prof2 | prof1
prof2 | | student1
student2
student3 | student1
student2 | student2
student3 | student1
student2 |