complete the getMedia interface doc