The getRecorderType method is used to get the internal recorder and it checks if the stream is an instance of array it returns MultiStreamRecorder.