Comments (1)
Hi,
The turnhttp code last update was about 2 years ago.
My guess that it is outdated.
I think the code is outdated and will not work without modification.
e.g.
https://github.com/dataarts/turnhttp/blob/master/turnhttp-server/turnhttp-server.go
turn/secret/*
but in
https://github.com/coturn/coturn/blob/master/turndb/schema.userdb.redis
the
turn/realm//secret
So I guess turnhttp has been written to earlier version of coturn.
Please read this: https://www.ietf.org/proceedings/87/slides/slides-87-behave-10.pdf
Please understand that there are many ways to implement REST API with coturn.
e.g.
- Static secret from config file or command line, or
- Dynamical from database e.g redis, mysql, etc.
AFAIU turnhttp using redis. It updates (stores) secrets dynamically in redis database. And coturn is using this shared redis DB for authentication.
So you need to update turnhttp to work with actual coturn.
I hope I answered your questions.
Please let me know if I could help you in anything more ..
P.S.
(I have also made a not well documented rest API, but if you like the idea, I could work on it to make it workable for you.
See: https://github.com/misi/stun-api/
)
from coturn.
Related Issues (20)
- Intermittent Connectivity Issues and Delayed Audio with COTURN Server in Android App HOT 1
- ERROR: Cannot open log file for writing: HOT 2
- How to reload coturn when ssl certificates are renewed? HOT 1
- Link Error : netengine.c:(.text+0x5f9b): undefined reference to `evthread_use_pthreads' HOT 8
- Support UDP proxy protocol HOT 1
- Empty else branch in ns_turn_server.c HOT 1
- remove "realm" from hmackey for Long Term credentials
- error 401: Unauthorized help~ HOT 2
- stun can't get the public ip HOT 2
- Segmentation fault due to stack overflow on log rotation HOT 3
- [RFC7250] Raw public keys openssl functionality HOT 2
- REST API problem... HOT 2
- coturn filter for fail2ban HOT 9
- Thread count should default to *ONLINE* CPU count HOT 1
- Coturn under attack? HOT 2
- Coturn behind NAT, correct firewall setting for a range of ports
- Docker min and max port not being used HOT 7
- Running coturn via Docker in AWS results in only private IP for relay HOT 1
- Serve prometheus on localhost
- Specifying a prometheus port results in segfault 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 coturn.