Skip to content

Commit c6206aa

Browse files
author
Ross Newman
committed
Added global configuration file
1 parent 3c6d594 commit c6206aa

File tree

2 files changed

+735
-0
lines changed

2 files changed

+735
-0
lines changed

config.h

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#define VIDEO_NV 0 // Original NV CSI camera
2+
#define VIDEO_GST_RTP_SRC 1 // Gstreamer udpsrc
3+
#define VIDEO_GST_V4L_SRC 2 // Gstreamer v4l2src
4+
#define VIDEO_RTP_STREAM_SOURCE 3 // Raw RTP
5+
6+
#define VIDEO_SRC VIDEO_GST_V4L_SRC
7+
#define SDL_DISPLAY 1
8+
#define GST_RTP_SINK 0
9+
#define ABACO 1
10+
11+
#define HEIGHT 720
12+
#define WIDTH 1280
13+
14+
//
15+
// Connection details
16+
//
17+
#define IP_UNICAST "127.0.0.1"
18+
#define IP_MULTICAST_OUT "239.192.1.198"
19+
#define IP_PORT_OUT 5004
20+
#define IP_MULTICAST_IN "239.192.2.34"
21+
#define IP_PORT_IN 5004
22+
23+
//
24+
// Gstreamer1.0 compatability
25+
//
26+
#define GST_1_FUDGE 1 // Offset date by 1 byte as gstream has an RTP bug. Must have RTP_STREAM_SOURCE=1

0 commit comments

Comments
 (0)