nomadro/deploy/social/live/srs.conf
Eric 92bbee3c6c Ship native social weapp: immersive hall chat, SRS live, join pay.
Wire Taro social pages to social_svc (Centrifugo + live RTMP), drop multi-channel chat chrome, and add weapp WXSS sanitize/deploy helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-02 12:33:35 +08:00

30 lines
721 B
Plaintext

# Nomadro social live — SRS for WeChat LivePusher (RTMP) + LivePlayer (HTTP-FLV)
listen 1935;
max_connections 100;
srs_log_tank console;
daemon off;
http_server {
enabled on;
listen 1985;
dir ./objs/nginx/html;
}
vhost __defaultVhost__ {
# HTTP-FLV for weapp live-player
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
# HLS fallback (optional)
hls {
enabled on;
hls_fragment 2;
hls_window 10;
hls_path ./objs/nginx/html;
hls_m3u8_file [app]/[stream].m3u8;
hls_ts_file [app]/[stream]-[seq].ts;
}
}