A swimming competition is under way while a large crowd watches.