this is where we loop the cdn to find the correct stream