forked from arut/nginx-rtmp-module
-
Notifications
You must be signed in to change notification settings - Fork 215
New Directives (fork)
Sergey edited this page Dec 19, 2015
·
2 revisions
- syntax:
on_playlist url
- default: empty
- context: rtmp, server, application
Set on_playlist callback. In addition to common HTTP callback variables it receives the following values:
- path - recorded playlist-file path
Triggered on every update of playlist written by HLS/DASH handler.
Example
on_playlist http://example.com/on-playlist;
- syntax:
notify_send_redirect on|off
- default: off
- context: rtmp, server, application
Enables remote stream redirect by on_publish
return value.
New stream name is get through HTTP redirect - on_publish
must return 30x code and Location header with new streaming URL.
Default is off.
notify_send_redirect on;