Skip to content

New Directives (fork)

Sergey edited this page Dec 19, 2015 · 2 revisions

Notify

on_playlist

  • 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;

notify_send_redirect

  • 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;