Page 1 of 1

toggleMute Problem

Posted: 12 Aug 2007 04:59
by my_1998
Hi,

I using VB6 and try to receive a stream from other PC, and use the following code

VLCPlugin4.addTarget "udp://@239.20.30.40", Null, VLCPlayListInsertAndGo, -666

Then I try to mute the audio at the very beginning, so the next line is

VLCPlugin2.toggleMute

But it didn't work, the reciving stream still have audio. The toggleMute work only after the video is completly loaded, and I click a button, the audio can stop.

I try to use playing to check if video is playing, but it always come back as true.

How can I stop the audio at the very beginning when receving a stream from other PC?

Thanks
M