handle streaming packet in streaming thread