Hi everyone,
I’m trying to stream video from an OAK-4S camera (connected over Ethernet) using FastAPI and DepthAI 3.0.0.
What I want to do:
1.Connect to the camera using its IP address
2.Stream video to web clients using FastAPI
3.Support multiple cameras
4.Clean up resources when clients disconnect or stream stops
Problems I’m facing:
1.How to connect to a device by IP in DepthAI v3?
2.How to build a proper streaming pipeline ?
3.How to send the stream to the browser using FastAPI?
4.How to clean up everything properly when stopping or disconnecting?
5.Any advice for handling multiple cameras?
I’ve checked the v2 to v3 migration guide but still confused. If anyone has working code or tips, please help.
Thanks!