StreamPack icon indicating copy to clipboard operation
StreamPack copied to clipboard

[Invalid]: Path verification for RTMP

Open tdrone993 opened this issue 11 months ago • 5 comments

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


tdrone993 avatar Mar 01 '25 14:03 tdrone993

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?

ThibaultBee avatar Mar 01 '25 18:03 ThibaultBee

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.

tdrone993 avatar Mar 07 '25 19:03 tdrone993

java.security.InvalidParameterException: Invalid path expected /app/streamKey

tdrone993 avatar Mar 16 '25 18:03 tdrone993

media_mtx works perfectly with OBS studio and a rtmp://xx.xx.xx.xx:1935/streamid

The boilerplate will not accept it.

tdrone993 avatar Mar 16 '25 18:03 tdrone993

I just made a fix in dev_v3 branch: https://github.com/ThibaultBee/StreamPack/commit/628b7e20272294558482fa7fa64d49cd3bab8901

ThibaultBee avatar Mar 16 '25 20:03 ThibaultBee

To be tested in 3.0.0-RC

ThibaultBee avatar Apr 10 '25 07:04 ThibaultBee