         @emit 'stream_reset', args...
       sess.on 'video_start', (args...) =>
         @emit 'video_start', args...
-      sess.on 'video_iframe', (args...) =>
-        @emit 'video_iframe', args...
+      sess.on 'video_framedata', (args...) =>
+        @emit 'video_framedata', args...
       sess.on 'audio_start', (args...) =>
         @emit 'audio_start', args...
       sess.on 'video_data', (args...) =>

              seq.done()
            when 9  # Video Message (incoming)
              videoData = parseVideoMessage @stream, rtmpMessage.body
              if videoData.isKeyFrame && @stream.name.indexOf("_proxy") != -1
                sps = h264.concatWithStartCodePrefix @stream.avcInfo.sps
                pps = h264.concatWithStartCodePrefix @stream.avcInfo.pps
                iframeNalUnitGlob = Buffer.concat [sps, pps, videoData.nalUnitGlob]

                @emit 'video_iframe', @stream, iframeNalUnitGlob

              if videoData.nalUnitGlob?


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