Esp32 CAM sending image buffer over TCP
Posted: Tue Jul 16, 2019 10:59 pm
Hi, i'm sending the picture's buffer rgb888 format via regular TCP connection with the client, using client.print or client.write , but the streaming is too slow. i'm getting the data by 4kbs . Is there any way to get the data faster in the client ?
void sendData()
{
for (int i = 0; i < out_len ; i++)
{
client.print(out_buf [i]);
//client.write(out_buf [i]);
}
}
Thank you.
Frank
void sendData()
{
for (int i = 0; i < out_len ; i++)
{
client.print(out_buf [i]);
//client.write(out_buf [i]);
}
}
Thank you.
Frank