added method for setting stream infos