Relative Content

Tag Archive for authenticationgosecurityhttp-live-streamingrtmp

How to secure a Stream Key in order to securely consume a livestream via HLS?

I’m trying to build a simple livestreaming platform for studying purposes. Currently, I’m using the nginx rtmp module, which sets up an rtmp application, and provides the contents via an HLS endpoint. Alogside the nginx server, I also built a Go API that handles users and livestreams information. The stream keys are hashed and stored on the database, so that only the streamer may use the key to generate content (using a software encoder like OBS for example). Now comes the problem: