Skip to content

Commit

Permalink
vcap/rtsp: compat wit older cURL
Browse files Browse the repository at this point in the history
without CURL_WRITEFUNC_ERROR
  • Loading branch information
MartinPulec committed Jul 25, 2024
1 parent e649593 commit 60c1d3f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/video_capture/rtsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@
#define DEFAULT_VIDEO_FRAME_HEIGHT 1080
#define INITIAL_VIDEO_RECV_BUFFER_SIZE ((0.1*DEFAULT_VIDEO_FRAME_WIDTH*DEFAULT_VIDEO_FRAME_HEIGHT)*110/100) //command line net.core setup: sysctl -w net.core.rmem_max=9123840

// compat
#ifndef CURL_WRITEFUNC_ERROR
#define CURL_WRITEFUNC_ERROR 0xFFFFFFFF
#endif

enum {
DEFAULT_RTSP_PORT = 554,
};
Expand Down

0 comments on commit 60c1d3f

Please sign in to comment.