Comments (7)
Could you please show an example how we could use SSL certs with this for example https://github.com/pion/turn/tree/master/examples/turn-server/tcp?
from turn.
Daniele thanks for the reply.
I tried PION as an alternative to COTURN. He is really very light and smart. But, forgive me, I'm not an experienced Go user.
It would be great if there were additional configuration variables in which you could insert the port, the path to the SSL key and certificate
from turn.
This is done!
The Server now accepts a slice of PacketConnConfig
or ListenerConfig
. With ListenerConfig
you can pass anything that implements the net.Listener
interface.
so pion/turn
can now use the result from tls.Listen
or it can use the Listener
that is provide by pion/dtls
from turn.
I would expect that can be done with https://github.com/pion/dtls. You'll have to dtls.Dial()
first which returns a dtls.Conn
, which implements the Go standard librarynet.PacketConn
interface. B/c of this you can set the returned conn from a dtls.Dial()
on turn.ClientConfig.Conn
. You can do the same thing for the server side by using dtls.Listen()
instead.
I'm not sure if this works, but I would expect it does.
from turn.
On second thought, I might be wrong. dtls.Dial()
gives us a net.Conn
, not a net.PacketConn
and dtls.Listen
gives us a net.Listener
.
from turn.
@Sean-Der You're a lot more well versed in this than I am. If I look at the code, I don't think we can just wrap pion/dtls around it and have it work, so providing easy options for it would be hard to.
What do we need to do to make it happen? And does it make sense?
from turn.
Hi has anyone used this with SSL where or how do we need to provide the certificates for configuring?
from turn.
Related Issues (20)
- Port old fuzzing code to Go's new fuzzing tools
- TestServer/Filter_on_client_address_and_peer_IP is failing HOT 4
- Use netip.AddrPort for FiveTuple to reduce lookup times HOT 4
- Provide easier way to create a TURN client HOT 2
- Using TURN server with two public IPs HOT 2
- How to use log tracking in turn server? HOT 2
- Add AllocationHandler HOT 4
- github.com/pion/ice/[email protected]/gather.go:657:21: cannot use turnServerAddr (variable of type string) as net.Addr value in struct literal: string does not implement net.Addr (missing method Network) HOT 4
- Consider replacing MD5 HOT 2
- Crash in HandleInbound HOT 5
- no such user exists HOT 2
- NewClient() on Android 13: route ip+net: netlinkrib: permission denied HOT 4
- Memory leak because server.go nonces increasing
- Please add a new release tag HOT 1
- integrity check failed HOT 7
- Build simple- on windows HOT 1
- Payload modification HOT 1
- TURN-client tcp-alloc example HOT 8
- Go Client Example Consistently Receives Local Address Instead of Real IP When Connected to ICE/TURN Server on macOS HOT 2
- Help Wanted: Example for tls turn client ( pion webrtc ) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from turn.