mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-27 02:12:51 +08:00
83 lines
2.7 KiB
Plaintext
83 lines
2.7 KiB
Plaintext
|
|
config instance
|
|
option 'enabled' '0'
|
|
|
|
# bind address
|
|
list 'listen' '0.0.0.0:5140'
|
|
list 'listen' '[::]:5140'
|
|
|
|
# Increase verbosity (0 = Fatal, 1 = Error, 2 = Warn, 3 = Info, 4 = Debug)
|
|
#option verbose '1'
|
|
|
|
# Disable UDPxy compatibility
|
|
#option noudpxy '0'
|
|
|
|
# Default interface for all upstream traffic (lowest priority)
|
|
#option upstream_interface ''
|
|
# Interface for FCC unicast traffic (overrides upstream_interface)
|
|
#option upstream_interface_fcc ''
|
|
# Interface for HTTP proxy upstream traffic (overrides upstream_interface)
|
|
#option upstream_interface_http ''
|
|
# Interface for multicast traffic (overrides upstream_interface)
|
|
#option upstream_interface_multicast ''
|
|
# Interface for RTSP unicast traffic (overrides upstream_interface)
|
|
#option upstream_interface_rtsp ''
|
|
|
|
# Restrict FCC UDP listen sockets to specific ports (start[-end])
|
|
#option fcc_listen_port_range ''
|
|
|
|
# Override User-Agent header for upstream HTTP proxy requests
|
|
#option http_proxy_user_agent ''
|
|
|
|
# Periodic multicast rejoin interval (0-86400, 0 = disable)
|
|
#option mcast_rejoin_interval '0'
|
|
|
|
# STUN server for RTSP NAT traversal (host[:port])
|
|
#option rtsp_stun_server ''
|
|
# User-Agent header for upstream RTSP requests
|
|
#option rtsp_user_agent ''
|
|
|
|
# Serve max N requests simultaneously (1-5000)
|
|
#option maxclients '5'
|
|
# Number of worker processes with SO_REUSEPORT (1-64)
|
|
#option workers '1'
|
|
# Maximum number of buffers in zero-copy pool (1024-1048576)
|
|
#option buffer_pool_max_size '16384'
|
|
# UDP socket receive buffer size (in bytes) for multicast/FCC/RTSP (65536-16777216)
|
|
#option udp_rcvbuf_size '524288'
|
|
# Enable zero-copy send with MSG_ZEROCOPY for better performance
|
|
#option zerocopy_on_send '0'
|
|
|
|
# Hostname to check in the host: HTTP header
|
|
#option hostname ''
|
|
# Authentication token for HTTP requests
|
|
#option r2h_token ''
|
|
# Set Access-Control-Allow-Origin header
|
|
#option cors_allow_origin ''
|
|
# Enable X-Forwarded-For header recognize
|
|
#option xff '0'
|
|
# Public mount path prefix for all HTTP resources
|
|
#option app_path_prefix ''
|
|
# HTTP path for player UI
|
|
#option player_page_path '/player'
|
|
# HTTP path for status UI
|
|
#option status_page_path '/status'
|
|
# External M3U playlist URL (file://, http://, https://)
|
|
#option external_m3u ''
|
|
# Auto-update interval in seconds (0=disabled)
|
|
#option external_m3u_update_interval '7200'
|
|
# Use root-relative URLs in generated and rewritten M3U playlists
|
|
#option use_relative_path_in_m3u '0'
|
|
|
|
# Write access logs to this file
|
|
#option access_log ''
|
|
# Access log format (nginx-style $variables)
|
|
#option log_format ''
|
|
|
|
# Path to ffmpeg executable
|
|
#option ffmpeg_path 'ffmpeg'
|
|
# Additional ffmpeg arguments
|
|
#option ffmpeg_args '-hwaccel none'
|
|
# Enable video snapshot feature
|
|
#option video_snapshot '0'
|