this might be why
a recording can be cut off if the channel you're recording has been buffering a lot/more then 15 seconds while its recording.
The issue with not being able to fix this, is because pretty much all server providers use Dynamic Urls for their streams, so if a channel buffers long enough it restarts and therefore creates a new URL and the recording was being done on the previous url.