mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 21:31:27 +00:00
255fef3896
This example sets up a recvonly H.264 transceiver and receives H.264 from a peer, while sending bi-directional Opus audio.
11 lines
399 B
Makefile
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 $@
|