MCPcopy Create free account
hub / github.com/Hieromon/AutoConnect / stopCameraServer

Method stopCameraServer

examples/WebCamServer/ESP32WebCam.cpp:82–87  ·  view source on GitHub ↗

* Shutdown the Web server */

Source from the content-addressed store, hash-verified

80 * Shutdown the Web server
81 */
82void ESP32WebCam::stopCameraServer(void) {
83 if (_stream_d) {
84 httpd_stop(_stream_d);
85 _stream_d = nullptr;
86 }
87}
88
89/**
90 * Start Web server that allows to stream motion JPEG. The port number can be

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected