GetMaxDuration function

Learn technical details about the GetMaxDuration function.