Support MQTT endpoint port

This commit is contained in:
Terrence
2025-04-21 06:54:50 +08:00
parent a6619dcdb9
commit c380617cca
6 changed files with 28 additions and 14 deletions

View File

@@ -22,7 +22,9 @@ WebsocketProtocol::~WebsocketProtocol() {
vEventGroupDelete(event_group_handle_);
}
void WebsocketProtocol::Start() {
bool WebsocketProtocol::Start() {
// Only connect to server when audio channel is needed
return true;
}
void WebsocketProtocol::SendAudio(const std::vector<uint8_t>& data) {