function isMediaStreamActive() {
        if ('active' in mediaStream) {
            if (!mediaStream.active) {
                return false;
            }
        } else if ('ended' in mediaStream) { // old hack
            if (mediaStream.ended) {
                return false;
            }
        }
        return true;
    }
Access to native MediaRecorder API
@method
@memberof MediaStreamRecorder
@instance
@example
var internal = recorder.getInternalRecorder();
internal.ondataavailable = function() {}; // override
internal.stream, internal.onpause, internal.onstop, etc.
@returns {Object} Returns internal recording object.