TUM-Dev / gocast

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

Subscribe to WS in video-information #1146

Closed MatthiasReumann closed 1 year ago

MatthiasReumann commented 1 year ago

Motivation and Context

Currently the viewers counter and dynamic description update doesn't work since the websocket is not initialized properly.

Description

Move .subscribe to parent context videoInformationContext.

Steps for Testing

  1. Log in
  2. Navigate to a livestream (+Chat)
  3. Send messages. Should work.
  4. Navigation to another livestream (-Chat)
  5. Viewers count should increase without reload if you open the livestream in multiple browser windows.
  6. 🕺
github-actions[bot] commented 1 year ago

Your Testserver will be ready at https://1146.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 |