diff --git a/src/MjpegServerImpl.cpp b/src/MjpegServerImpl.cpp index 17210a9ab6..2ce5f4403d 100644 --- a/src/MjpegServerImpl.cpp +++ b/src/MjpegServerImpl.cpp @@ -526,7 +526,7 @@ void MjpegServerImpl::ConnThread::SendStream(wpi::raw_socket_ostream& os) { // with firefox double timestamp = frame.time() / 10000000.0; header.clear(); - oss << "--" BOUNDARY "\r\n" + oss << "\r\n--" BOUNDARY "\r\n" << "Content-Type: image/jpeg\r\n" << "Content-Length: " << size << "\r\n" << "X-Timestamp: " << timestamp << "\r\n"