Changed type to mediatype for mediaSection