rename: stream_type --> media_type