detect the video/audio codec, only cache the h264/aac sequence header