Stop Camera Stream
Stop active camera streaming and release camera resources.
This endpoint safely terminates camera streaming operations with stream termination to stop active video, resource cleanup to release camera devices and memory, state management to update camera status, and idempotent operation safety for repeated calls.
Resource Release Process
The system performs stream termination to stop frame generation and delivery, camera release to free exclusive device access, memory cleanup to free allocated buffers and resources, and status update to reflect the stopped state internally.
Integration Recommendations
Always stop cameras when applications shut down for cleanup procedures, stop cameras when users log out or sessions expire for session management, and include stop operations in camera error recovery procedures for error recovery workflows.
Response
Camera stopped successfully
Example response
{
"message": "Camera stopped",
"success": true
}