...
If file name is explicitly set, the stream will be recorded to file with this name. If file exists, then depending on force
parameter:
...
1. If force:false
(by default)
...
, and stream in this mediasession is already writing to this file, the file will not be
...
owerwritten, current recording will continue. If the stream is not writing, and file already exists, it will be overwritten.
2. If force:true
, the file will be overwritten
...
by new recording. If the stream is already recording, file will be overwritten too, previous content will be lost.
Known issues
1. Maximum length of file name in all actual Linux file systems is limited to 255 characters. When record file is created, its name will be trimmed to this limit including extension and part number if rotation is enabled.
...