mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
bb56d6eab7
This also comes with a docker image to collect all dependencies and build everything. Fixes https://github.com/centricular/gstwebrtc-demos/pull/20
20 lines
493 B
Docker
20 lines
493 B
Docker
FROM maxmcd/gstreamer:1.14-buster
|
|
|
|
RUN apt-get install -y libjson-glib-dev
|
|
# RUN apk update
|
|
# RUN apk add json-glib-dev libsoup-dev
|
|
|
|
WORKDIR /opt/
|
|
COPY . /opt/
|
|
|
|
RUN sed -i 's/wss:\/\/webrtc.nirbheek.in:8443/ws:\/\/signalling:8443/g' \
|
|
/opt/webrtc-sendrecv.c
|
|
RUN sed -i 's/strict_ssl = TRUE/strict_ssl = FALSE/g' \
|
|
/opt/webrtc-sendrecv.c
|
|
|
|
RUN make
|
|
|
|
CMD echo "Waiting a few seconds for you to open the browser at localhost:8080" \
|
|
&& sleep 10 \
|
|
&& ./webrtc-sendrecv --peer-id=1
|
|
|