pion / demo-conference Goto Github PK
View Code? Open in Web Editor NEWA simple web conferencing application built using Pion
License: MIT License
A simple web conferencing application built using Pion
License: MIT License
The errors are related to https://github.com/pion/pion-browser-client. There is already a PR that fixes the problem. See pion/pion-browser-client#2
I can confirm that it works as expected.
Thanks for this example. It helps me understand WebRTC.
The dependency github.com/pions/turn
in this repo's turn/main.go, expects a turn.StartArguments now. Doing this will probably require adding some more ENV vars to docker-compose.yml also (USERS, REALM, UDP_PORT). It's updated in my fork and I can provide a PR if you want. https://github.com/countable-web/demo-conference/blob/master/docker-compose.yml#L14
Client: Docker Engine - Community
Cloud integration 0.1.18
Version: 19.03.13
API version: 1.40
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:02:36 2020
OS/Arch: linux/amd64
Experimental: true
Server: Docker Engine - Community
Engine:
Version: 19.03.13
API version: 1.40 (minimum version 1.12)
Go version: go1.13.15
Git commit: 4484c46d9d
Built: Wed Sep 16 17:07:04 2020
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: v1.3.7
GitCommit: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
docker-compose up --build
Gives this error while building 'turn':
Sending build context to Docker daemon 7.68kB
Step 1/8 : FROM alpine:latest
---> a24bb4013296
Step 2/8 : ENV GOPATH /usr/local
---> Using cache
---> 3bd5b57911e3
Step 3/8 : ENV REALM localhost
---> Using cache
---> 767faa0bf18b
Step 4/8 : RUN apk --no-cache add go git musl-dev && rm -rf /var/cache/apk/*
---> Using cache
---> d1408a2d4778
Step 5/8 : RUN go get -u -v github.com/cespare/reflex
---> Using cache
---> cccd5b205ab4
Step 6/8 : RUN go get -u -v github.com/pion/turn
---> Running in ac80d002f6f1
github.com/pion/turn (download)
github.com/pion/logging (download)
github.com/pion/stun (download)
github.com/pion/transport (download)
github.com/pion/stun/internal/hmac
github.com/pion/logging
github.com/pion/turn/internal/ipnet
github.com/pion/stun
github.com/pion/transport/vnet
github.com/pion/turn/internal/proto
github.com/pion/turn/internal/allocation
github.com/pion/turn/internal/client
# github.com/pion/turn/internal/allocation
usr/local/src/github.com/pion/turn/internal/allocation/allocation.go:245:26: cannot use stun.TransactionID (type func() stun.Setter) as type stun.Setter in argument to stun.Build:
func() stun.Setter does not implement stun.Setter (missing AddTo method)
# github.com/pion/turn/internal/client
usr/local/src/github.com/pion/turn/internal/client/conn.go:240:24: cannot use stun.TransactionID (type func() stun.Setter) as type stun.Setter in argument to stun.Build:
func() stun.Setter does not implement stun.Setter (missing AddTo method)
usr/local/src/github.com/pion/turn/internal/client/conn.go:364:7: cannot use stun.TransactionID (type func() stun.Setter) as type stun.Setter in array or slice literal:
func() stun.Setter does not implement stun.Setter (missing AddTo method)
usr/local/src/github.com/pion/turn/internal/client/conn.go:442:24: cannot use stun.TransactionID (type func() stun.Setter) as type stun.Setter in argument to stun.Build:
func() stun.Setter does not implement stun.Setter (missing AddTo method)
usr/local/src/github.com/pion/turn/internal/client/conn.go:512:7: cannot use stun.TransactionID (type func() stun.Setter) as type stun.Setter in array or slice literal:
func() stun.Setter does not implement stun.Setter (missing AddTo method)
The command '/bin/sh -c go get -u -v github.com/pion/turn' returned a non-zero code: 2
A successful build.
An update in pion/stun changed the type of stun.TransactionId from stun.Setter
to func() stun.Setter
.
./create-ssl-cert.sh
docker-compose up --build
I expected it to build and run.
The build failed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.