Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • JSON Web Token support.

        // livego.json
        {
            "jwt": {
                "secret": "testing",
                "algorithm": "HS256"
            },
            "server": [
                {
                    "appname": "live",
                    "live": true,
                    "hls": true
                }
            ]
        }

  • Use redis for store room keys

        // livego.json
        {
            "redis_addr": "localhost:6379", 
            "server": [
                {
                    "appname": "live",
                    "live": true,
                    "hls": true
                }
            ]
        }

  • Makefile

Changed

  • Show players.
  • Show stream_id.
  • Deleted keys saved in physical file, now the keys are in cached using go-cache by default.
  • Using logrus like log system.
  • Using method .Get(queryParamName) to get an url query param.
  • Replaced errors.New(...) to fmt.Errorf(...).
  • Replaced types string on config params liveon and hlson to booleans live: true/false and hls: true/false
  • Using viper for config, allow use file, cloud providers, environment vars or flags.
  • Using yaml config by default.