The audio moves to plain HTTP, with no WebSocket.
This commit is contained in:
+1
-9
@@ -74,13 +74,5 @@ void start_wifi_and_server(void) {
|
||||
.user_ctx = NULL
|
||||
};
|
||||
httpd_register_uri_handler(server, &uri_stream);
|
||||
|
||||
httpd_uri_t uri_audio_ws = {
|
||||
.uri = "/audio",
|
||||
.method = HTTP_GET,
|
||||
.handler = audio_ws_handler,
|
||||
.is_websocket = true
|
||||
};
|
||||
httpd_register_uri_handler(server, &uri_audio_ws);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user