[Webkit-unassigned] [Bug 83704] [EFL][GTK] media/event-attributes.html fails if mixer is not at 100%

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 10 10:43:05 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=83704





--- Comment #15 from Jussi Kukkonen <jussi.kukkonen at intel.com>  2012-09-10 10:43:25 PST ---
(In reply to comment #14)
> Yes, this is due to PulseAudio's flat volumes feature combined with its modules to restore stream and device volume values I'm afraid.
> 
> I think we get an extra volumechange event because of that. Before running your test case can you disable the module-device-restore and module-stream-restore modules? And also disable the Flat volumes thing?

I still get the volumechange. but I think I failed to disable everything as pulseaudio clearly restores the volume for something (the element always gets the volume that was last set to a mediaelement). But you are right, it's not system volume, it's definitely "app-specific".

> Speaking of a solution... maybe we should be more careful when monitoring the playbin2 volume property. Not sure what to do though, ideas welcome!

Originally I thought we should just do what everyone else does (let HTMLElement volume=1.0 represent "current master volume")... but now I'd rather we fixed whatever goes wrong here and have pulseaudio handle this, it really does feel like a well working solution with Flat volumes and as far as I understand should be compliant as well.

So I think we just need to initialize the MediaElement properties as early as possible. It's not acceptable that muted and volume change drastically _after_ the player app calls MediaElement.play(). It's been a while since I've done anything with gstreamer so I'll have to read up on that...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list