brian7704 / OpenTAK_ICU

25 stars 3 forks source link

Doesn't seem to send auth for rtmp/rtmps #5

Closed sgofferj closed 2 months ago

sgofferj commented 2 months ago

I'm trying to stream via rtmps to an address requiring auth. Username and password are set in the settings but mediamtx reports authentication failure:

mediamtx-1  | 2024/05/17 09:35:47 INF [RTMPS] [conn xxx.xxx.xxx.xxx:51440] opened
mediamtx-1  | 2024/05/17 09:35:49 INF [RTMPS] [conn xxx.xxx.xxx.xxx:51440] closed: authentication failed: server replied with code 401: {"ip":"xxx.xxx.xxx.xxx","user":"","password":"","action":"publish","path":"live/xxxxxx","protocol":"rtmp","id":"89ea0f3b-8708-45a2-a7c6-f109c17776e1","query":""}
sgofferj commented 2 months ago

Same for rtmp.

brian7704 commented 2 months ago

I think this is an issue with the RootEncoder library that handles streaming in OpenTAK ICU. I've opened an issue on their repo pedroSG94/RootEncoder#1484

brian7704 commented 2 months ago

This issue was actually due to the non-standard way that MediaMTX handles authentication. I added support for it in 1.4.4.