Just found out that nc.connect(null) is for both local files
http:// based video files .
Documentation states connect(null) is for local files and use
connect(URL) ; for rtmp and http based streams.
However after some testing I found that for http (e.g
you need to use also connect(null). connect('rtmp://host/stream')
is only used with streaming servers with rtmp ..