u need some information about the model first.
most of them have a build in web server with web api interface.
so you should try to find a manual from manufacturer.
often they can controlled from within a webpage, the requests you can see in firefox browser menu extra/web developer/network.
maybe search how people it solved for a raspberry pi + cam as security camera project.