The following functions allow you to detect the media type of an unknown stream.
return.length
media_type
probability