An ear infection of the outer ear canal is called otitis externa or swimmer's ear. An ear infection of the middle ear is called otitis media or middle ear infection. Labyrinthitis is an inflammation of the inner ear that can be caused by a bacterial infection or viral infection of the inner ear.