gstreamer/webrtc/sendonly/Makefile
Jan Schmidt 255fef3896 webrtc-recvonly-h264: Add a recvonly standalone example.
This example sets up a recvonly H.264 transceiver and receives
H.264 from a peer, while sending bi-directional Opus audio.
2020-05-09 19:13:52 +10:00

11 lines
399 B
Makefile

CC := gcc
LIBS := $(shell pkg-config --libs --cflags gstreamer-webrtc-1.0 gstreamer-sdp-1.0 libsoup-2.4 json-glib-1.0)
CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer
all: webrtc-unidirectional-h264 webrtc-recvonly-h264
webrtc-unidirectional-h264: webrtc-unidirectional-h264.c
"$(CC)" $(CFLAGS) $^ $(LIBS) -o $@
webrtc-recvonly-h264: webrtc-recvonly-h264.c
"$(CC)" $(CFLAGS) $^ $(LIBS) -o $@