Media streaming server based on nginx-module-rtmp
134 — Every core and module directive — syntax, defaults, contexts, and real configuration examples.
access_log
The 'access_log' directive logs access requests to media streams in NGINX's…
ack_window
The `ack_window` directive sets the acknowledgment window size for RTMP stream…
allow
The 'allow' directive controls access permissions to RTMP streams in NGINX.
application
The `application` directive defines a context for configuring media streaming…
buffer
The 'buffer' directive configures the buffer size for media streaming in the…
buflen
The 'buflen' directive sets the buffer length for media streaming in NGINX's…
busy
The 'busy' directive in the nginx-module-rtmp module is used to configure the…
chunk_size
The 'chunk_size' directive configures the size of data chunks sent during…
connection_pool_size
The `connection_pool_size` directive sets the size of the connection pool for…
dash
The 'dash' directive enables dynamic adaptive streaming over HTTP (DASH) in…
dash_cleanup
The dash_cleanup directive controls the automatic cleanup of unused DASH…
dash_fragment
The 'dash_fragment' directive sets the duration of DASH fragments in a media…
dash_nested
The 'dash_nested' directive enables or disables support for nested DASH…
dash_path
The `dash_path` directive specifies the directory path for storing DASH…
dash_playlist_length
Sets the length of the DASH playlist for media streaming.
deny
The `deny` directive restricts access to specified clients in the NGINX RTMP…
drop_idle_publisher
The `drop_idle_publisher` directive controls the automatic disconnection of…
exec
The 'exec' directive allows the execution of external commands or scripts from…
exec_block
The `exec_block` directive allows you to specify a block of code to be…
exec_kill_signal
The `exec_kill_signal` directive specifies the signal that should be sent to…
exec_options
The exec_options directive configures execution options for DASH streaming…
exec_play
The exec_play directive allows execution of commands or scripts when a media…
exec_play_done
The `exec_play_done` directive specifies commands to execute when playback…
exec_publish
The exec_publish directive allows the execution of a specified command when a…
exec_publish_done
The exec_publish_done directive specifies commands to execute after a…
exec_pull
The exec_pull directive is used to specify external commands to be executed…
exec_push
The `exec_push` directive triggers external commands to be executed during…
exec_record_done
The exec_record_done directive specifies commands to be executed when…
exec_static
The `exec_static` directive configures the RTMP server to execute static file…
flv_live
The `flv_live` directive enables live streaming of FLV content through the…
location
gop_cache
The `gop_cache` directive enables GOP (Group of Pictures) caching for video…
gop_max_audio_count
The 'gop_max_audio_count' directive limits the maximum number of audio samples…
gop_max_frame_count
The `gop_max_frame_count` directive limits the number of frames in a Group of…
gop_max_video_count
The `gop_max_video_count` directive limits the maximum number of video…
hls
The `hls` directive enables HTTP Live Streaming (HLS) for media streams in…
hls_audio_buffer_size
The `hls_audio_buffer_size` directive sets the buffer size for audio segments…
hls_base_url
The `hls_base_url` directive specifies the base URL for HLS media playlist and…
hls_cleanup
The `hls_cleanup` directive controls the cleanup of HLS (HTTP Live Streaming)…
hls_continuous
The 'hls_continuous' directive determines whether the HLS stream continues to…
hls_fragment
The 'hls_fragment' directive sets the duration for HLS segments generated by…
hls_fragment_naming
The `hls_fragment_naming` directive determines the naming scheme for HLS…
hls_fragment_naming_granularity
The `hls_fragment_naming_granularity` directive controls the naming convention…
hls_fragment_slicing
The `hls_fragment_slicing` directive controls the slicing of HLS fragments for…
hls_fragments_per_key
The `hls_fragments_per_key` directive defines the number of HLS fragments…
hls_key_path
The `hls_key_path` directive specifies the file path for HLS encryption keys…
hls_key_url
The `hls_key_url` directive specifies the URL from which to retrieve the…
hls_keys
The 'hls_keys' directive specifies the encryption keys for HLS segments served…
hls_max_audio_delay
The `hls_max_audio_delay` directive sets the maximum allowable audio delay in…
hls_max_fragment
The 'hls_max_fragment' directive sets the maximum duration for HLS fragments…
hls_muxdelay
The `hls_muxdelay` directive specifies the maximum allowed delay between…
hls_nested
The `hls_nested` directive controls whether HLS segments are nested within a…
hls_path
The `hls_path` directive specifies the directory where HLS segment files will…
hls_playlist_length
The `hls_playlist_length` directive specifies the duration of HLS playlists in…
hls_sync
The 'hls_sync' directive sets synchronization point for HLS output in RTMP…
hls_type
The 'hls_type' directive defines the type of HLS segmenting to be used in…
hls_variant
The `hls_variant` directive allows the configuration of multiple HLS stream…
idle_streams
The 'idle_streams' directive in the NGINX RTMP module configures the number of…
interleave
The 'interleave' directive enables the interleaving of audio and video streams…
listen
The `listen` directive specifies the address and port that NGINX will use to…
live
The 'live' directive enables live streaming capabilities for the NGINX RTMP…
log_format
The `log_format` directive defines the format of log messages for streaming…
log_interval
The `log_interval` directive specifies the interval for logging statistics in…
log_size
The `log_size` directive sets the maximum size of the log files generated by…
max_connections
The `max_connections` directive sets the maximum number of concurrent…
max_message
The 'max_message' directive sets the maximum size of messages sent in an RTMP…
max_streams
The `max_streams` directive sets the maximum number of simultaneous streams…
merge_slashes
The `merge_slashes` directive controls whether multiple consecutive slashes in…
meta
The 'meta' directive in the nginx-module-rtmp module specifies metadata for…
netcall_buffer
The "netcall_buffer" directive configures the buffer size for network calls in…
netcall_timeout
The netcall_timeout directive specifies the maximum duration to wait for a…
notify_method
The 'notify_method' directive specifies how notifications are sent for RTMP…
notify_no_resolve
The `notify_no_resolve` directive disables DNS resolution for server names…
notify_relay_redirect
The `notify_relay_redirect` directive is used to specify a URL to which the…
notify_update_strict
The 'notify_update_strict' directive configures strict notification handling…
notify_update_timeout
The `notify_update_timeout` directive specifies the timeout duration for…
on_connect
The 'on_connect' directive specifies a callback function that is executed when…
on_disconnect
The `on_disconnect` directive specifies a callback function that is executed…
on_done
The `on_done` directive specifies a callback function to be executed upon…
on_play
The `on_play` directive in the NGINX RTMP module triggers a specific action or…
on_play_done
The `on_play_done` directive allows configuration of actions to be taken when…
on_publish
The `on_publish` directive in NGINX allows the specification of a handler that…
on_publish_done
The `on_publish_done` directive specifies a callback function to execute when…
on_record_done
The `on_record_done` directive in the NGINX RTMP module triggers an action…
on_update
The `on_update` directive allows for custom actions to be defined and executed…
out_cork
The 'out_cork' directive controls the buffering behavior of media output in an…
out_queue
The 'out_queue' directive is used to configure the output queue settings for…
ping
The 'ping' directive configures the ping behavior for RTMP sessions in NGINX…
ping_timeout
The `ping_timeout` directive specifies the maximum time that the server will…
play
The 'play' directive in the NGINX RTMP module allows clients to play back live…
play_local_path
The `play_local_path` directive specifies the local file system path for…
play_restart
The `play_restart` directive controls the behavior of playback sessions in…
play_temp_path
The `play_temp_path` directive specifies the temporary directory for storing…
play_time_fix
The `play_time_fix` directive modifies playback time adjustments for RTMP…
publish_notify
The `publish_notify` directive configures a notification callback when a…
publish_time_fix
The publish_time_fix directive ensures that the publishing time for streamed…
pull
The `pull` directive is used to specify a remote RTMP stream to be pulled into…
pull_reconnect
The `pull_reconnect` directive configures the reconnect behavior for pulling…
push
The 'push' directive in the NGINX RTMP module is used to push live streams to…
push_reconnect
The push_reconnect directive controls the reconnection behavior for push…
record
The 'record' directive in the NGINX RTMP module is used to configure the…
record_append
The `record_append` directive specifies the file in which to append recorded…
record_interval
The `record_interval` directive configures the time interval for recording…
record_lock
The `record_lock` directive enables or disables the locking mechanism for RTMP…
record_max_frames
The `record_max_frames` directive sets a limit on the maximum number of frames…
record_max_size
The `record_max_size` directive specifies the maximum size of recorded…
record_notify
The `record_notify` directive configures notifications for recording events in…
record_path
The 'record_path' directive specifies the file path for recording streaming…
record_suffix
The `record_suffix` directive specifies a file extension for recorded media…
record_unique
The `record_unique` directive in the NGINX RTMP module is used to save unique…
recorder
The 'recorder' directive is used to specify settings for recording media…
relay_buffer
The 'relay_buffer' directive configures the buffer size for streaming media…
resolver
The resolver directive is used to configure DNS resolution for resolving…
resolver_timeout
The `resolver_timeout` directive sets the timeout for resolving domain names…
respawn
The `respawn` directive instructs the NGINX RTMP module to automatically…
respawn_timeout
The respawn_timeout directive sets the time interval for how long the server…
rtmp
The 'rtmp' directive enables the RTMP streaming server in NGINX, fundamental…
main
rtmp_auto_push
The `rtmp_auto_push` directive enables automatic pushing of streamed media to…
main
rtmp_auto_push_reconnect
The `rtmp_auto_push_reconnect` directive enables automatic reconnect attempts…
main
rtmp_control
The `rtmp_control` directive configures the RTMP stream control parameters for…
httpserverlocation
rtmp_socket_dir
The `rtmp_socket_dir` directive sets the directory for RTMP socket files used…
main
rtmp_stat
The `rtmp_stat` directive enables the RTMP status for streaming applications…
httpserverlocation
rtmp_stat_format
The `rtmp_stat_format` directive specifies the format for statistics output of…
httpserverlocation
rtmp_stat_stylesheet
The `rtmp_stat_stylesheet` directive specifies the path to a custom stylesheet…
httpserverlocation
send_lowat
The `send_lowat` directive limits the amount of data sent on a socket to…
send_timeout
The `send_timeout` directive sets the timeout for transmitting a response to…
server
The 'server' directive in the nginx-rtmp module configures an RTMP server…
server_name
The 'server_name' directive specifies the hostnames for which a server block…
session_relay
The `session_relay` directive is used to manage the relay of sessions in…
so_keepalive
The `so_keepalive` directive enables or disables the use of TCP keepalive…
stream_buckets
Configures the size of the internal buffer used for media streaming in the…
sync
The 'sync' directive specifies synchronization settings for Media Streaming in…
timeout
The `timeout` directive defines the duration before a session is considered…
wait_key
The 'wait_key' directive controls whether the stream waits for a keyframe…
wait_video
The `wait_video` directive configures the RTMP streaming server to wait for…