Put cap on mediarecorder duration