MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / stopStreaming

Method stopStreaming

src/astroprint/plugin/services/camera.py:102–110  ·  view source on GitHub ↗
(self,data,sendResponse)

Source from the content-addressed store, hash-verified

100 sendResponse({'success': 'no-error'})
101
102 def stopStreaming(self,data,sendResponse):
103
104 if cameraManager().closeLocalVideoSession(sessionId):
105 sendResponse({'success': 'no-error'})
106
107 return
108
109 else:
110 sendResponse({'stop_streaming_error': True})

Callers 2

printing.jsFile · 0.80
camera-control.jsFile · 0.80

Calls 2

cameraManagerFunction · 0.90

Tested by

no test coverage detected