handle error correctly
rtspd done besides disconnect
still need to work on disconnect
merge conflict