Replies: 1 comment 3 replies
-
TUM-Live currently doesn't support streams for third party apps out of the box. One reason is that we are responsible for handling authorization and authentication and making sure videos can only be played by users that are allowed to see a course. That also includes handling changes in a courses metadata (we can't deliver private streams to unauthenticated users even when the course used to be public when the link was generated). This is achieved by adding a json web token to our (vod) hls playlists. The resulting playlist looks something like this (use https://jwt.io to decode the key):
The jwt is uniquely generated for every user visiting the site and contains:
We also consider adding the users IP address to prevent links from being shared. To implement your feature I could imagine a (gRPC/REST) endpoint that Artemis authenticates against using a token that allows generating a signed hls playlist for public and hidden streams (streams that can only be seen if you know the URL). Feel free to share your thoughts on how this can be designed or schedule a meeting with me (mailto:[email protected]) I want to mention however that TUM-Live is much more than a dropbox for your videos that can be delivered via http. By only embedding a video somewhere users lose many features (e.g. the split view player: https://live.rbg.tum.de/w/Sem/20488/SPLIT, automatic silence skipping, bookmarks, previews when scrubbing the seek bar, chat, issue reporting and many more). What you want to achieve can be done by statically delivering a .mp4 through Artemis. Surely this wouldn't be an issue using lecture attachments (ping @krusche). Looking forward to hear your thoughts on this! 😊 |
Beta Was this translation helpful? Give feedback.
-
Hello,
for the Artemis Android application I would like to embed a tum live video in an Android Application, preferably using Exoplayer.
Let's say I have the following url: https://live.rbg.tum.de/w/Sem/20489
How can I derive a link from that such that I can forward it to Exoplayer? The Exoplayer documentation can be found here.
Beta Was this translation helpful? Give feedback.
All reactions