To handle camera streaming, we introduce a CameraStreamManager class that maintains a persistent gRPC stream to the server. The manager initializes the streaming RPC connection in its constructor and provides an enqueue method for queuing camera matrix updates. The trySendNext method checks whether a write operation can proceed to ensure no write is currently in flight and the queue is not empty before sending the next message. Upon completion of each write operation, the OnWriteDone callback removes the sent message from the queue and attempts to send the next one. If a write fails or the stream completes, the manager marks itself as finished and closes the stream.