   return {
     info: info
     nalUnitGlob: nalUnitGlob
+    isKeyFrame: isKeyFrame
   }
 
 parseAudioMessage = (stream, buf) ->

          @emit 'stream_reset', args...
        session.on 'video_start', (args...) =>
          @emit 'video_start', args...
        session.on 'audio_start', (args...) =>
          @emit 'audio_start', args...
        session.on 'video_data', (args...) =>

parseVideoMessage = (stream, buf) ->
  info = flv.parseVideo buf
  nalUnitGlob = null
  isKeyFrame = false
  avcInfo = stream.avcInfo
  switch info.videoDataTag.avcPacketType
    when flv.AVC_PACKET_TYPE_SEQUENCE_HEADER
