This commit is contained in:
Rene Zeldenthuis
2024-04-02 00:27:54 +02:00
parent 5117f0d21a
commit b8abcdcdee
5 changed files with 81 additions and 76 deletions

View File

@@ -72,7 +72,7 @@ void micro_rtsp_server::loop()
{
log_v("Stream frame to client: 0x%08x", client);
// RTP over TCP encapsulates in a $
client.write((const uint8_t *)packet, packet->length + sizeof(micro_rtsp_streamer::rtp_over_tcp_hdr_t));
client.write((const uint8_t *)packet, packet->length + sizeof(rtp_over_tcp_hdr_t));
// TODO: UDP
}
free(packet);