Comments (2)
Hi @alesinicio ,
Thanks for opening this issue!
Your concern is fair, it is not properly described how you should use the system with JWT.
Of course now you know, that it is the standard Authorization: Bearer {token}
but this should be described.
On your second question yes, it is a simple hash validation. I was thinking in implementing some kind of a payload validation but did not come up with a solution because at that point the service is trading flexibility for security while also introducing more complexity in integration. However, this is a topic I would like to take a deeper look once I have more time.
from rtsp-stream.
Thanks for the feedback!
As a suggestion for the hash validation, maybe you could check the existence of a fixed-name bash script (or python, or whatever seems the most widely adopted) on a specific directory. If the script exists, the token is passed to it for validation. If not, you fallback to the simple hash validation.
The script would obviously be provided by the user via a docker volume, thus retaining full flexibility (works like an user-provided extension).
from rtsp-stream.
Related Issues (20)
- docker install port problem HOT 1
- A
- Start uses uri for starting streams HOT 1
- Alias not used to identify stream in start
- HTTPS embeds HOT 4
- multiple same url request for camera loading
- Specify path for rtsp-stream.yml
- ARM64/v8 platform support HOT 2
- RTSP_STREAM_AUDIO_ENABLED=true sets audio disabled
- Not easy enough
- IPv6 support
- VPN stream not loading HOT 1
- JWT Invalid signature HOT 1
- Adaptive bitrate
- h265 Support
- support RTP over RTSP
- No audio
- Please help me
- https HOT 1
- Cannot play transcoded hls stream on video.js and hls player 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 rtsp-stream.