<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>145609</bug_id>
          
          <creation_ts>2015-06-03 11:21:05 -0700</creation_ts>
          <short_desc>[GStreamer] Pulseaudio volume set at 100% when a video is played</short_desc>
          <delta_ts>2015-07-08 07:04:33 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>140358</dup_id>
          <see_also>https://bugzilla.gnome.org/show_bug.cgi?id=675217</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=54140</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=118974</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=140287</see_also>
    
    <see_also>https://bugs.webkit.org/show_bug.cgi?id=140358</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>140358</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyriaque S.">cysoun</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>calvaris</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>pnormand</cc>
    
    <cc>slomo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1099195</commentid>
    <comment_count>0</comment_count>
    <who name="Cyriaque S.">cysoun</who>
    <bug_when>2015-06-03 11:21:05 -0700</bug_when>
    <thetext>Hi !

When I start a video Youtube (with HTML5) in Epiphany, the volume of PulseAudio is set at 100%. It&apos;s really annoying when I use my headphones.
Seems like it happens mainly on Youtube.

----

My configuration:

Epiphany 3.16.1 with WebKit 2.8.3
PulseAudio 6.0
ArchLinux with Gnome 3.16</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1099201</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-06-03 11:36:54 -0700</bug_when>
    <thetext>Cyriaque was able to work around this by disabling flat volumes as described in] https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Per-application_volumes_change_when_the_Master_volume_is_adjusted

So it seems to be the same issue we&apos;ve always had, but there are so many bug reports and they are all marked as FIXED (or WORKSFORME), I wasn&apos;t sure what else to do with this besides file a new bug. Maybe it was working but regressed again?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1099459</commentid>
    <comment_count>2</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2015-06-04 01:31:21 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; Cyriaque was able to work around this by disabling flat volumes as described
&gt; in]
&gt; https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Per-
&gt; application_volumes_change_when_the_Master_volume_is_adjusted
&gt; 
&gt; So it seems to be the same issue we&apos;ve always had, but there are so many bug
&gt; reports and they are all marked as FIXED (or WORKSFORME), I wasn&apos;t sure what
&gt; else to do with this besides file a new bug. Maybe it was working but
&gt; regressed again?

Unless there is a new regression, Ephy should play HTML5 videos with the latest used volume, so volume shouldn&apos;t ramp up, even with flat volumes.

If YouTube sets the volume thru the JS API to 1.0 and that ramps up the volume, that&apos;s an expected behavior as per spec, and as per Pulseaudio flat volumes behavior. I won&apos;t discuss this any further as there was enough discussing in the other places, like bug 118974. I added a dependency to bug 140358 though as there is where we track the progress of the implementation of Pulseaudio&apos;s API.

Cyriaque, please tests with http://www.w3.org/2010/05/video/mediaevents.html and if volume works as I said there, then close this bug and subscribe to bug 140358.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1099512</commentid>
    <comment_count>3</comment_count>
    <who name="Cyriaque S.">cysoun</who>
    <bug_when>2015-06-04 10:34:21 -0700</bug_when>
    <thetext>Well, that&apos;s weird... I can&apos;t even play the videos in Epiphany so I can&apos;t tell... It&apos;s like it loads the video forever and nothing happen. I sometimes have a thumbnail but nothing else.

Beside that, I noticed that Firefox had the same problem with the volume when flat volumes are enabled. It is set to the max when I play the videos. Otherwise, it&apos;s okay when I disable flat volumes. Didn&apos;t had this before with flat volumes but on this page.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1099526</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-06-04 10:54:56 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; Well, that&apos;s weird... I can&apos;t even play the videos in Epiphany so I can&apos;t
&gt; tell... It&apos;s like it loads the video forever and nothing happen. I sometimes
&gt; have a thumbnail but nothing else.

When I try to play YouTube videos, the web process crashes, bug #144099. I wonder why that doesn&apos;t affect you. Anyway, we still won&apos;t be able to handle YouTube until bug #135972 is fixed; that might be what you&apos;re hitting.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1107741</commentid>
    <comment_count>5</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-07-08 07:04:33 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 140358 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>