willscott / goturn Goto Github PK
View Code? Open in Web Editor NEWA golang TURN dialer
License: BSD 3-Clause "New" or "Revised" License
A golang TURN dialer
License: BSD 3-Clause "New" or "Revised" License
ensure that the go doc documentation is complete, especially for the client API
currently the first message after a call to Connect
will fail because the nonce is stale, the new nonce will need to be learned from the response, and the message will need to be resent. Instead, the client should buffer the most recent message to be passed through send
so that read message can auto-resend in appropriate cases - like when an alternate server, transport, realm, or nonce is needed.
An initial turn relay can use the public apprtc turn server.
This would follow the process at
https://github.com/webrtc/apprtc/blob/ee2d37a63e1cc00a52b0fe536fcb4578e8fdf944/src/app_engine/apprtc.py#L252
For now, that's simplified to using the credentials/servers provided by https://computeengineondemand.appspot.com/turn?username=prober&key=4080218913
The client doesn't currently keep track of the 5 minute timer on its allocation or permissions. These should be automatically refreshed while it is alive.
The current StunClient
class is almost able to function as a Dialer. an example should be built for this use case that makes permission and connect requests and can serve as a net.Dialer.
Per RFC 6062, there is an additional attribute CONNECTION-ID
needed for TCP Allocations.
There is also a bit of additional process involved in establishment of these connections. There's an allocation/permission/connection level-interface that needs to be provided to make the client's life easier.
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.