1) This is more a question for OBS guys but I will try to answer. I guess you are using "VLC Video source" right? Sadly I see that there is no way to add parameters to customize the subscription but try to ask OBS team if you have time.
2) The 'getStreamLength' error can be ignored, this is normal with VLC.
To play the stream with RTMP in VLC you have to add an application name in the path, for example
if you want to play the stream 'test' in VLC with rtmp you should try
the following link :
rtmp://localhost/live/test
(replace 'test' by the name of your stream publication and 'live' by any other application name, it does not matter)
You can also try to view the stream with HTTP live streaming, for this just open the following link
http://localhost/test.mp4 in VLC to play an existing stream 'test'.