Bug 163498

Summary: [GStreamer] Sound of html5 videos are set to maximum at epiphany start or new tab/window
Product: WebKit Reporter: Márcio <marciosr10>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Major CC: bugs-noreply, calvaris, mcatanzaro
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
some system info
none
video with volume manualy set
none
new video loade rises the volume to 100% none

Márcio
Reported 2016-10-16 05:51:24 PDT
Created attachment 291743 [details] some system info The sound of html5 videos are set to maximum at each new tab or window of epiphany 3.22.1. If the sound is manually ajusted, new videos at the same tab don't change the volume. I'm using epiphany on Arch Linux updated and gnome 3.22. There is no interesting terminal output, just "Error sending IPC message: broken pipe" Steps to reproduce: 1- Open epiphany and go to www.youtube.com; 2 - Just play some video; 3 - Open a new tab/window and play some html5 video;
Attachments
some system info (12.40 KB, application/octet-stream)
2016-10-16 05:51 PDT, Márcio
no flags
video with volume manualy set (29.14 KB, image/png)
2016-10-17 17:19 PDT, Márcio
no flags
new video loade rises the volume to 100% (29.12 KB, image/png)
2016-10-17 17:20 PDT, Márcio
no flags
Michael Catanzaro
Comment 1 2016-10-16 10:40:15 PDT
This looks pretty bad. Please do check to be sure that you have flat-volumes turned off in /etc/pulse/daemon.conf (you probably do and it's probably unrelated, just want to rule this out).
Márcio
Comment 2 2016-10-16 17:03:34 PDT
Michael, Looking at /etc/pulse/daemon.conf the option is: flat-volumes = no
Xabier Rodríguez Calvar
Comment 3 2016-10-17 03:54:18 PDT
W3C spec mandates that volume is either 100% or the one the last stream had. We perform the last thru pulseaudio so if that can't happen, when we go to 100%, both as per spec. So far we can do nothing, only tell people to disable flat volumes and ensure that they master volume is not 100% either.
Michael Catanzaro
Comment 4 2016-10-17 09:26:14 PDT
Maybe I misunderstood the problem. The system volume is not being raised to 100%, right? I cannot reproduce any such problem here. Is your issue that the YouTube media player doesn't remember its volume when you open YouTube in another tab? I don't think that's a WebKit bug.
Xabier Rodríguez Calvar
Comment 5 2016-10-17 09:51:25 PDT
(In reply to comment #4) > Maybe I misunderstood the problem. The system volume is not being raised to > 100%, right? I cannot reproduce any such problem here. If "system volume" is raised to 100% then the user is indeed using flat volumes or their master volume is 100%.
Márcio
Comment 6 2016-10-17 17:17:05 PDT
Master volume isn't on 100%. On each new tab or epiphany window with a video play the volome off it rises to 100%. On volume control just the item WebKitWebProcess is rising to 100%. Even each new video on the same tabe rise the volume, first to +- 80 % e a new video turn the volume to 100%. Please see the gnome volume control print attached.
Márcio
Comment 7 2016-10-17 17:19:40 PDT
Created attachment 291901 [details] video with volume manualy set
Márcio
Comment 8 2016-10-17 17:20:34 PDT
Created attachment 291902 [details] new video loade rises the volume to 100%
Márcio
Comment 9 2016-10-17 17:21:18 PDT
Remember that new videos on new tabs/windows rises the volume to 100% too.
Xabier Rodríguez Calvar
Comment 10 2016-10-18 00:50:07 PDT
That is the expected behavior as per spec, ergo, it is not a bug.
Márcio
Comment 11 2016-10-18 02:20:37 PDT
(In reply to comment #10) > That is the expected behavior as per spec, ergo, it is not a bug. Even if the master sound is keeping their level, when using a haedset the automatic rise of an app volume can hurt my ears. That do not happen with any other app. Other browsers ether (Firefox, chrome and opera). So there is a bug in the wc3 especs.
Márcio
Comment 12 2016-10-23 07:03:57 PDT
Guys, I've ben using epiphany 3.22 extensively, so I could observe better the behavior of html5 video volume. The automatic changes that I mentioned before, are to line up the app volume with the volume of webplayer of each page. I noted that some video ads - shown before the video come - are reproduced with volume at the maximum, even if the main video has the volume set to lower level. I wasn't able to change the volume of some of them in webplayer. But I think that this is happening just occasionally. In resume, I am confortable to say that this bug can be closed. Sorry for the inconvenience. Thanks for the help.
Note You need to log in before you can comment on or make changes to this bug.