Video streaming for Linux based devices. Works e.g. in conjunction with Parrot Drones where the autopilot is the Paparazzi autopilot. Sends a RTP/UDP stream of the camera image, a.k.a. live video video_thread
include $(CFG_SHARED)/udp.makefile VIEWVIDEO_HOST ?= $(MODEM_HOST) VIEWVIDEO_PORT_OUT ?= 5000 VIEWVIDEO_PORT2_OUT ?= 6000 VIEWVIDEO_BROADCAST ?= TRUE VIEWVIDEO_USE_NETCAT ?= FALSE VIEWVID_CFLAGS = -DVIEWVIDEO_HOST=$(VIEWVIDEO_HOST) -DVIEWVIDEO_PORT_OUT=$(VIEWVIDEO_PORT_OUT) -DVIEWVIDEO_PORT2_OUT=$(VIEWVIDEO_PORT2_OUT) ifneq (,$(findstring $(VIEWVIDEO_USE_NETCAT),0 FALSE)) ap.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=$(VIEWVIDEO_BROADCAST) nps.CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_BROADCAST=FALSE else $(TARGET).CFLAGS += $(VIEWVID_CFLAGS) -DVIEWVIDEO_USE_NETCAT endif