Client-side recorder notifications

Recently I have implemented client-side recorder notifications. Standard status events are used for that. When recording starts NetStream.Record.Start is sent to client, when it is stops NetStream.Record.Stop is sent. Descrpition status field contains recorder name (empty for default recorder). The feature is disabled by default. To enable it use record_notify directive within the recorder.

Example:

application foo {
    live on;
    recorder rec {
        record all;
        record_path /tmp;
        record_notify on;
        record_interval 1m;
    }
}

Advertisements
  1. Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: