Refactor media methods to use only one mediaIsUploading.