recording now work fine; ready to live test
add unavailable state to streamplayer; refactor layout_switch