mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
webrtc: Update Makefile for building webrtc-sendrecv
This now needs the RTP library. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1821>
This commit is contained in:
parent
cad9f8fb36
commit
d6799b069a
2 changed files with 3 additions and 3 deletions
|
@ -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 $@
|
||||
|
|
|
@ -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 <nirbheek@centricular.com>
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue