Skip to content

Introduction

Unlike other streaming servers, mms-server has a built-in static file server, which allows URL path and file directory mapping for the configuration endpoint. This makes it convenient for users to play recorded files or implement a standalone control console.

Currently, the standalone console for mms-server can be compiled and deployed to the static file server built into mms-server. For more details, refer to the README.md of mms-server.

Configuration

  1. First, configure the corresponding path mapping in the top-level configuration file mms.yaml:
yaml
http_api:
  enabled: true
  port: 8080
  static_file_server:
    enabled: true
    path_map:
      /console/*: /data/console

static_file_server is the configuration section for static files.

/console/* : /data/console means that requests starting with /console/ will extract the suffix represented by *, then look for the corresponding file in the /data/console directory. If the file exists, it will be read and returned.

Released under the MIT License.