Closed Bug 1298515 Opened 8 years ago Closed 8 years ago

Intermittent dom/media/tests/mochitest/test_getUserMedia_audioCapture.html | Assertion count 50 is greater than expected range 0-0 assertions.

Categories

(Core :: Audio/Video: MediaStreamGraph, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla51
Tracking Status
firefox51 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: pehrsons)

References

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

Rank: 35
Component: Audio/Video → Audio/Video: MediaStreamGraph
Priority: P5 → P3
I'm getting this all the time locally.
Assignee: nobody → pehrson
Status: NEW → ASSIGNED
Comment on attachment 8787657 [details]
Bug 1298515 - Ignore ended tracks for AudioCaptureStreams.

https://reviewboard.mozilla.org/r/76356/#review74426

::: dom/media/AudioCaptureStream.cpp:111
(Diff revision 1)
>        while (!tracks.IsEnded()) {
>          AudioSegment* inputSegment = tracks->Get<AudioSegment>();
>          StreamTime inputStart = s->GraphTimeToStreamTimeWithBlocking(aFrom);
>          StreamTime inputEnd = s->GraphTimeToStreamTimeWithBlocking(aTo);
> +        if (tracks->IsEnded() && inputSegment->GetDuration() <= inputEnd) {
> +          // If the input track ended and we consumed all it's data it may

If the input track has ended and we consumed all of its data it can be ignored.
Attachment #8787657 - Flags: review?(padenot) → review+
Comment on attachment 8787657 [details]
Bug 1298515 - Ignore ended tracks for AudioCaptureStreams.

https://reviewboard.mozilla.org/r/76356/#review74430

::: dom/media/AudioCaptureStream.cpp:111
(Diff revision 1)
>        while (!tracks.IsEnded()) {
>          AudioSegment* inputSegment = tracks->Get<AudioSegment>();
>          StreamTime inputStart = s->GraphTimeToStreamTimeWithBlocking(aFrom);
>          StreamTime inputEnd = s->GraphTimeToStreamTimeWithBlocking(aTo);
> +        if (tracks->IsEnded() && inputSegment->GetDuration() <= inputEnd) {
> +          // If the input track ended and we consumed all it's data it may

More like:

If the input track has ended and we have consumed all of its data it can be ignored.
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/819eb92d9a07
Ignore ended tracks for AudioCaptureStreams. r=padenot
https://hg.mozilla.org/mozilla-central/rev/819eb92d9a07
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla51
Depends on: 1300600
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: