aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-09-01 21:12:29 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-09-03 15:43:11 +0100
commitf4dadc774fa7951f826ccbbfdf8f36e0d7bad7b8 (patch)
tree98b1b6bd326040151330312b460a3a60ca214766 /gnu
parent8bb155b23c16ae0b4d926ca7d12398e78644caa2 (diff)
downloadguix-f4dadc774fa7951f826ccbbfdf8f36e0d7bad7b8.tar.gz
guix-f4dadc774fa7951f826ccbbfdf8f36e0d7bad7b8.zip
gnu: Add go-github-com-pion-webrtc-v3.
* gnu/packages/golang-web.scm (go-github-com-pion-webrtc-v3): New variable. Change-Id: Id5f0894cc8f87f3e84258a17bb8d4657aaf9149b
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/golang-web.scm63
1 files changed, 63 insertions, 0 deletions
diff --git a/gnu/packages/golang-web.scm b/gnu/packages/golang-web.scm
index 80d1ceae4d..14b93cd9ae 100644
--- a/gnu/packages/golang-web.scm
+++ b/gnu/packages/golang-web.scm
@@ -4104,6 +4104,69 @@ it like any library. The quickest way to get started is to look at the
go-github-com-pion-transport-v3
go-golang-org-x-sys))))
+(define-public go-github-com-pion-webrtc-v3
+ (package
+ (name "go-github-com-pion-webrtc-v3")
+ (version "3.3.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/pion/webrtc")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1f421a2s00mj5l9bj96xlignwfdfkp6kwk9qjs3vhazpmvqxzsgi"))))
+ (build-system go-build-system)
+ (arguments
+ (list
+ ;; XXX: Figure out why tests timeout and fail eventually.
+ #:tests? #f
+ #:import-path "github.com/pion/webrtc/v3"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-examples-and-benchmarks
+ (lambda* (#:key tests? import-path #:allow-other-keys)
+ (with-directory-excursion (string-append "src/" import-path)
+ (for-each delete-file-recursively
+ (list "examples"))))))))
+ (native-inputs
+ (list go-github-com-stretchr-testify))
+ (propagated-inputs
+ (list go-github-com-pion-datachannel
+ go-github-com-pion-dtls-v2
+ go-github-com-pion-ice-v2
+ go-github-com-pion-interceptor
+ go-github-com-pion-logging
+ go-github-com-pion-randutil
+ go-github-com-pion-rtcp
+ go-github-com-pion-rtp
+ go-github-com-pion-sctp
+ go-github-com-pion-sdp-v3
+ go-github-com-pion-srtp-v2
+ go-github-com-pion-stun
+ go-github-com-pion-transport-v2
+ go-golang-org-x-net))
+ (home-page "https://github.com/pion/webrtc")
+ (synopsis "Implementation of the WebRTC API in Golang")
+ (description
+ "Package webrtc implements the @code{WebRTC} (Real-Time Communication in
+Browsers) 1.0 as defined in W3C @url{https://www.w3.org/TR/webrtc/,WebRTC}
+specification document.
+Features:
+@itemize
+@item implementation of @url{https://w3c.github.io/webrtc-pc/,webrtc-pc} and
+@code{https://www.w3.org/TR/webrtc-stats/,webrtc-stats}
+@item DataChannels
+@item Send/Receive audio and video
+@item Renegotiation
+@item Plan-B and Unified Plan
+@item SettingEngine for Pion specific extensions
+@item implemented connectivity - Full ICE Agent, ICE Restart, Trickle ICE,
+STUN, TURN mDNS candidates
+@end itemize")
+ (license license:expat)))
+
(define-public go-github-com-pires-go-proxyproto
(package
(name "go-github-com-pires-go-proxyproto")