[ ":sout=#duplicate{# dst=display,dst=std {access=udp,mux=ts,dst=192.168.123.123:4444--loop}}" ]
1- why starting duplicate with "# " (in braces), you should remove this
2- I never seen spaces before or after "dst"
3- addTarget belongs to AxVLC v1 which is deprecated. You should use version 2 in which its become "vlc.playlist.add(url, name, options)" @see lin,k1
For .playlist.add at least, either you provide a string (spaces-separated options), either you provide a table of strings (one option per string). Its appears your are mixing something (I guess with "New String() {")
I suggest you:
Code: Select all
options = New String() {
":sout=#duplicate{dst=display,dst=std{access=udp,mux=ts,dst=" & ipAddress & ":" & port}}",
"--loop",
"--sout-keep" }
vlc.plaulist.add(videoFile, "foo name", options)
NB1: sout-keep to not "close/reopen" the sout each loop
NB2: sout through the ActiveX is discouraged and locked down since 0.9.9 I think. You should play with older releases (0.9.8a?), @see link2
NB2bis: You should be able to workaround this by using libvlc.dll direclty and giving global option to libvlc_new
NB3: the wiki contain a very good streaming documentation with samples @see link3
links:
link1:
http://wiki.videolan.org/Documentation: ... d_above.29 (ActiveX API v2 is the same as mozilla-plugin one)
link2:
http://download.videolan.org/pub (ftp or http)
link3:
http://wiki.videolan.org/Documentation:Streaming_HowTo