missing rtmpsink with credentials (pubUser:pubPasswd)
After struggling and diving through code for several hours last night I ended up concluding that the rtmpsink in gstreamer does not support using user:pass credentials.
In principle librtmp should support this. Typically using the arguments
pubPasswd however a pipeline such as
rtmpsink location="rtmp://url/app/key live=true pubUser=username pubPasswd=password" does not work.
I have looked at OBS, which also uses librtmp but apparently are maintaining a fork inside their source-tree:
Thus I'm not sure where all the differences are and why it is currently not possible to use this in gstreamer.
Hopefully someone with more knowledge than me can figure this one out.
I ended up using a named pipe and ffmpeg for the output, which currently has their own rtmp implementation that uses a
rtmp://user:pass@url type of connect-uri
Of course it would be preferred to have the output directly in gstreamer.