Created attachment 8500936 [details] Screenshot from 2014-10-07 12:46:22.png With bug 1051658 landed, if Firefox fails to decode the audio stream the video won't be played at all. This is the case if you don't have a sound-card available. The first failing build is ftp://ftp.mozilla.org/pub/firefox/tinderbox-builds/mozilla-inbound-win32/1412345616/ To be able to reproduce this: 1 Open a Windows machine with no sound-card (you can disable it if you're using a VM box) 1 Install the latest nightly 2 Open: http://mozqa.com/data/firefox/video/sample-video-60s.ogv Expected: Video will play without sound Actual result: Video won't play, error: "Video can't be played because the file is corrupt." And on browsers console: "Media resource http://www.mozqa.com/data/firefox/video/sample-video-60s.ogv could not be decoded."
(In reply to Cosmin Malutan from comment #0) > Expected: Video will play without sound Is this behavior common to other browsers? If so, we should make no exception for Firefox. How about playing an audio-only file without sound card installed? Does it still play without sound output or fail to play at all?
No, an audio only file won't play neither. Regarding other browsers they all play the video only if you don't have a sound-card installed and they won't bailout the video too.
[Tracking Requested - why for this release]:
status-firefox35: --- → affected
tracking-firefox35: --- → ?
Btw. does this only happen on Windows or also on other platforms?
Only on windows, I've checked exactly the same steps on Linux, but there it work just fine.
Created attachment 8501405 [details] [diff] [review] 1079174_allow_video_playback_when_audiostream_fail.patch It looks like cubeb_wasapi will fail to init a stream when sound card not present. Per comment 0, the user expects to play video in spite of sound error. We should ignore the AudioSink error when there is still video to play. Try: https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=c7ee6f27bfac Looks fine.
Assignee: nobody → jwwang
Status: NEW → ASSIGNED
Attachment #8501405 - Flags: review?(kinetik)
Attachment #8501405 - Flags: review?(kinetik) → review+
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
status-firefox35: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
This has been fixed, it passes the test too. Thanks.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.