diff --git a/subprojects/gst-examples/webrtc/sendrecv/gst/Makefile b/subprojects/gst-examples/webrtc/sendrecv/gst/Makefile index 07a9ae3612..6e302e64f3 100644 --- a/subprojects/gst-examples/webrtc/sendrecv/gst/Makefile +++ b/subprojects/gst-examples/webrtc/sendrecv/gst/Makefile @@ -1,6 +1,6 @@ CC := gcc -LIBS := $(shell pkg-config --libs --cflags glib-2.0 gstreamer-1.0 gstreamer-sdp-1.0 gstreamer-webrtc-1.0 json-glib-1.0 libsoup-2.4) +LIBS := $(shell pkg-config --libs --cflags glib-2.0 gstreamer-1.0 gstreamer-rtp-1.0 gstreamer-sdp-1.0 gstreamer-webrtc-1.0 json-glib-1.0 libsoup-2.4) CFLAGS := -O0 -ggdb -Wall -fno-omit-frame-pointer \ - $(shell pkg-config --cflags glib-2.0 gstreamer-1.0 gstreamer-sdp-1.0 gstreamer-webrtc-1.0 json-glib-1.0 libsoup-2.4) + $(shell pkg-config --cflags glib-2.0 gstreamer-1.0 gstreamer-rtp-1.0 gstreamer-sdp-1.0 gstreamer-webrtc-1.0 json-glib-1.0 libsoup-2.4) webrtc-sendrecv: webrtc-sendrecv.c "$(CC)" $(CFLAGS) $^ $(LIBS) -o $@ diff --git a/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc-sendrecv.c b/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc-sendrecv.c index 0ab61c7a86..6ba6909982 100644 --- a/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc-sendrecv.c +++ b/subprojects/gst-examples/webrtc/sendrecv/gst/webrtc-sendrecv.c @@ -2,7 +2,7 @@ * Demo gstreamer app for negotiating and streaming a sendrecv webrtc stream * with a browser JS app. * - * gcc webrtc-sendrecv.c $(pkg-config --cflags --libs gstreamer-webrtc-1.0 gstreamer-sdp-1.0 libsoup-2.4 json-glib-1.0) -o webrtc-sendrecv + * Build by running: `make webrtc-sendrecv`, or build the gstreamer monorepo. * * Author: Nirbheek Chauhan */