Comments (6)
@carlo161 after some investigation with the configuration you provided, it turned out that when ips
is not set explicitly, the default value from the default configuration is loaded, which in case of your second entry is 127.0.0.1
, and this prevents access to any machine other than localhost.
This is fixed by #3316.
In the meanwhile you can fix your issue by using explicit ips
in the configuration:
authInternalUsers:
- user: any
pass:
ips: []
permissions:
- action: publish
- user: carlo
pass: carlo
ips: []
permissions:
- action: read
Next time open a dedicated issue.
from mediamtx.
I have same problem. In version 1.5.1 working correctly.
from mediamtx.
Thank you @timerlan I had revert to 1.5.1..
from mediamtx.
Hello, readUser
and readPass
were deprecated in v1.6.0, now there's a global authentication system that you can tune by editing the authInternalUsers
key in the configuration.
More informations are in the configuration file.
from mediamtx.
Hello,
thanks @aler9, I tried to configure it but I cannot authenticate, my settings are:
authInternalUsers:
- user: any
pass:
permissions:
- action: publish
- user: carlo
pass: carlo
permissions:
- action: read
I can publish but every read attempt failed. I also tried with sha256 with the same outcome.
from mediamtx.
Thanks, I installed version 1.8.1 with the #3316 and I specify explicitly the ips in the yaml file.
from mediamtx.
Related Issues (20)
- Allow reading Multichannel Opus streams with WebRTC HOT 7
- Hooks not working (runOnRead,runOnUnread,runOnRecordSegmentCreate,runOnRecordSegmentComplete)
- ffmpeg pull rtsp stream from mediamtx server error HOT 1
- Failed to apply the description for m= section with mid='1': Failed to setup RTCP mux.' HOT 2
- Extra connections when attempting to read an SRT stream with incorrect credentials
- Problem in overriding authInternalUsers configuration HOT 1
- Support streaming H265 over WebRTC HOT 1
- RTMP does not follow standard URL schema so many apps won't accept the URL HOT 1
- docker image has no tzdata so files are saved with incorect timestamps HOT 1
- Hide raspberry pi settings from path API endpoints when the camera isn't an rpi cam HOT 1
- Hide raspberry pi settings from path API endpoints when the camera isn't an rpi cam
- modify config by api wanted HOT 1
- buffer length exceeds 64 HOT 1
- Can't read RTMP source: not enough bytes / Can I push a stream via SRT?
- Make webrtcHandshakeTimeout and webrtcTrackGatherTimeout configurable HOT 1
- Feature Request: Accept German Characters in Camera Path Validation HOT 1
- Feature Request: Accept German Characters in Camera Path Validation HOT 1
- Accept German Characters in Camera Path Validation
- New webrtc configurations not recognized
- `remoteAddr` for metrics
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 mediamtx.