[code style] com_media backend

This fixes all the issues except the class doc block changes because we will submit independent PRs for that.