code after first successful binocular streaming