record
directive.Now
recorder{}
block is supported within application{}
.
application myapp {
live on;
#default recorder
record all;
record_path /var/rec;
record_unique on;
recorder audio_only {
record audio;
record_path /var/rec/audio;
}
recorder video_only {
record video;
record_max_size 256K;
}
recorder foo {
record all;
record_interval 10s;
}
}
All settings are inherited by recorders from higher level.
Project page at github