Fixed bug of media API
Merge pull request #800 from linzongshu/develop

Fixed bug of media API