Tuesday, October 9, 2012

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

No comments:

Post a Comment