lib/controller.js
function(){
    if (controller.connection.opts.requestProtocolVersion < 5 && controller.streamingCount == 0){
      controller.streamingCount = 1;
      var info = {
        attached: true,
        streaming: true,
        type: 'unknown',
        id: "Lx00000000000"
      };
      controller.devices[info.id] = info;

      controller.emit('deviceAttached', info);
      controller.emit('deviceStreaming', info);
      controller.emit('streamingStarted', info);
      controller.connection.removeListener('frame', backfillStreamingStartedEventsHandler)
    }
  }
function(){
    if (controller.connection.opts.requestProtocolVersion < 5 && controller.streamingCount == 0){
      controller.streamingCount = 1;
      var info = {
        attached: true,
        streaming: true,
        type: 'unknown',
        id: "Lx00000000000"
      };
      controller.devices[info.id] = info;

      controller.emit('deviceAttached', info);
      controller.emit('deviceStreaming', info);
      controller.emit('streamingStarted', info);
      controller.connection.removeListener('frame', backfillStreamingStartedEventsHandler)
    }
  }
function ( ) { if ( controller . connection . opts . requestProtocolVersion < 5 && controller . streamingCount == 0 ) { controller . streamingCount = 1 ; var info = { attached : true , streaming : true , type : 'unknown' , id : "Lx00000000000" } ; controller . devices [ info . id ] = info ; controller . emit ( 'deviceAttached' , info ) ; controller . emit ( 'deviceStreaming' , info ) ; controller . emit ( 'streamingStarted' , info ) ; controller . connection . removeListener ( 'frame' , backfillStreamingStartedEventsHandler ) } }
here we backfill the 0.5.0 deviceEvents as best possible backfill begin streaming events
here we backfill the 0 . 5 . 0 deviceEvents as best possible backfill begin streaming events