retrieve stream in gleds working