Ive designed camera systems using the raspberry pi in the past, using various methods like rstp,https and a few other protocols, if you could specify your needs a bit better i shall be able to come up with a efficient way to solve your problem. feel free to check my profile for my past work or text me so that we can discuss further.