[Invalid]: Path verification for RTMP
Version
All
Environment that reproduces the issue
The path verification is looking for rtmp://xxx.xxx.xx/app/streamid MediaMTX and others allows for rtmp://xxx.xxx.xx/streamid
RTMP/SRT/... Server
MediaMTX
Audio configuration
No response
Video configuration
No response
Is it reproducible in the demos application?
Yes
Reproduction steps
rtmp://xxx.xxx.xx/streamid
Expected result
Allow the path
Actual result
Deny's the stream
Additional context
No response
Relevant logs output
Hi,
Could you provide the crash?
Also, could you point out the documentation about it in MediaMTX. Last question, do you have a test server somewhere?
MediaMTX allows for a RTMP address like rtmp://localhost.net/streamid Verification of the URL in this product seems to require a address like rtmp://localhost.net/someappname/streamid or it thinks its invalid when its not.
java.security.InvalidParameterException: Invalid path expected /app/streamKey
media_mtx works perfectly with OBS studio and a rtmp://xx.xx.xx.xx:1935/streamid
The boilerplate will not accept it.
I just made a fix in dev_v3 branch: https://github.com/ThibaultBee/StreamPack/commit/628b7e20272294558482fa7fa64d49cd3bab8901
To be tested in 3.0.0-RC