The maximum duration of a media using this option is 6 hours.
Keep in mind that in order to record your live streams, you must have enabled your DVR or Live Editor plan with a defined retention time that can be days and hours. Available for input protocols such as RTMP and HLS.