Stream adaptation step 2