# media_worker **Repository Path**: hanson9977/media_worker ## Basic Information - **Project Name**: media_worker - **Description**: 音书媒体服务器。支持windows x86/x64, linux x86/x64/arm64 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-13 - **Last Updated**: 2025-04-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Worker公开库 ## 一、说明 > 1. 当前支持的操作系统平台 darwin, linux, win32 > 2. 当前支持的架构: arm64, x64, x86 > 3. worker文件存放规范为 `/worker/${platform}_${arch}[.exe]` ## 二、目录结构: ```shell ├── README.md └── worker ├── linux_arm64 Linux ARM 64 位 ├── linux_x64 Linux x86 64 位 ├── linux_x86 Linux x86 32 位 ├── darwin_x64 MacOS x86 64 位 ├── win32_x64.exe Windows x86 64位 └── win32_x86.exe Windows x86 32位 ``` ## 三、运行环境变量: `DEPLOY_MODE` : `public` 公有云,`private`私有化, `allinone`私有化一体机。 `SIGNAL_SERVER` : 信令服务地址, 例如: https://127.0.0.1:1300. `API_SERVER` : api服务地址, 例如: https://127.0.0.1:8000 。 如果 DEPLOY_MODE 为 allinone 时,则固定为https://127.0.0.1:8000,同时只能从API中获取内外网IP地址和UPD起始端口号。 `MEDIA_SERVER_PORT` : 媒体服务监听端口,默认1301。 `MEDIASERVER_LAN_IP` : 内网IP地址。 `MEDIASERVER_WAN_IP` : 外网IP地址。 `TLS_CERT` : 证书文件路径。 `TLS_KEY` : 证书KEY文件路径。 `MEDIASERVER_UDP_MIN_PORT` : UDP起始端口号。