zhibo/archive/extras/live-streaming/.env.example

23 lines
553 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 服务器配置
NODE_ENV=development
PORT=3001
# SRS 配置
SRS_HOST=localhost
SRS_RTMP_PORT=1935
SRS_HTTP_PORT=8080
# docker-compose 对外暴露端口(每个开发者可自行修改,本文件仅示例)
API_EXPOSE_PORT=25001
SRS_RTMP_EXPOSE_PORT=25002
SRS_HTTP_EXPOSE_PORT=25003
SRS_API_EXPOSE_PORT=1985
# 生成推流/播放地址时使用的公网 Host局域网/公网部署时建议配置)
PUBLIC_SRS_HOST=localhost
PUBLIC_SRS_RTMP_PORT=25002
PUBLIC_SRS_HTTP_PORT=25003
# 前端地址 (用于 CORS)
CLIENT_URL=http://localhost:3000