add getMediaType to match new upstream interface signature