Volume in two instances of VLC

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

Volume in two instances of VLC

Postby lagarazo » 13 Oct 2006 12:15

Hello,

I have 2 instances of VLC activeX in the same web page, playing different streams. All works fine, except for the volume. When I change the volume in any of the instances, the other instance is also affected by this change, so it looks like the volume is a global parameter that can not be changed for a concrete instance.

Is this a bug of VLC activeX? Can anybody help me with this issue?

Thanks,
Rubén.

lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

Postby lagarazo » 16 Oct 2006 17:02

Is volume a global value, affecting every instance of VLC?

lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

Postby lagarazo » 17 Oct 2006 12:02

I have read posts from the activeX developer in this forum.

So there must be somebody who can answer me...

aagis
Blank Cone
Blank Cone
Posts: 10
Joined: 05 Oct 2006 16:57

Similar problem

Postby aagis » 19 Oct 2006 17:04

I had a similar problem with volume and mute.

In my case it seemed that the last set volume affected all other instances not immediatly but when the next file played in those instances.

A rather strange workaround that worked in my case was to set the volume through a timer 500ms after issuing the play command again to the volume of each instance. Actually if the volume was say 50 I set it to 51 and if 0 to 1. Perhaps the timer is not necessary and just resetting the volume in all instances (with the slight +/- 1 alternation) would work.

Hope this helps,
Agis.

lagarazo
Blank Cone
Blank Cone
Posts: 34
Joined: 20 Sep 2006 13:50

Postby lagarazo » 26 Oct 2006 12:42

I will try it, thanks!!


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 15 guests