Page 1 of 1

ActiveX streaming from vb6

Posted: 15 Oct 2005 20:47
by chx2k
Hello,

I tried to stream out using the vlc activex in vb6, but I had no luck.
I can play files, urls and dshow device with no problem but I'm not sure how they can be streamed out.

Basicaly I put the MRL string that was generated by the vlc.exe into the
MRL of the activeX and that did not work, then I put the same string in the
addtarget's uri argument and that also did not work.

I wasn't able to use the options argument in addtarget either, because anything other than "null" would give me "invalid procedure call or argument".

I tried with 0.8.4-test1a and the nightlybuild 20051015.

So my questions are:

Is it possible to stream out using the latest vlc activex in vb6?

If it is possible, could someone post a small example, or explain how?

If it's not possible to stream out yet, does anyone know if there are plans to add this option in the near future?

Thank you.

Posted: 16 Oct 2005 01:12
by chx2k
I just want to post an update to my previous post:

I did figure out how to pass options to the addTarget's options argument and here is an example for anyone that might need this info.

Code: Select all

Dim options() As Variant options() = Array(":input-repeat=1") Me.VLCPlugin1.addTarget "c:\dir\file.mpg", options, VLCPlayListAppendAndGo, -666
But still no luck with stream out, so if anyone can answer my questions it would be great.

Thank you