libvideosite: move definition of remote_api and add default reset function