This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM maxmcd/gstreamer:1.14-buster | |
WORKDIR /usr/src | |
RUN apt-get update && apt-get install -y python3-pip \ | |
pkg-config \ | |
libcairo2-dev \ | |
gcc \ | |
python3-dev \ | |
libgirepository1.0-dev \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:buster | |
LABEL maintainer="Tobias Fridén" | |
LABEL description="Provides an image with Janus Gateway on Debian buster" | |
RUN apt-get update -y \ | |
&& apt-get upgrade -y | |
RUN apt-get install -y \ | |
build-essential \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/pkg/dtls/conn.go b/pkg/dtls/conn.go | |
index 9060bf3..69db502 100644 | |
--- a/pkg/dtls/conn.go | |
+++ b/pkg/dtls/conn.go | |
@@ -87,7 +87,7 @@ func createConn(nextConn net.Conn, timerThread timerThread, handshakeMessageHand | |
c.localRandom.populate() | |
if !isClient { | |
c.cookie = make([]byte, cookieLength) | |
- c.localKeypair, _ = generateKeypair(namedCurveX25519) | |
+ c.localKeypair, _ = generateKeypair(namedCurveP256) |