Bug 177331 - LayoutTest webrtc/video-mute.html is very often failing
Summary: LayoutTest webrtc/video-mute.html is very often failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-09-21 16:37 PDT by youenn fablet
Modified: 2017-09-27 12:22 PDT (History)
6 users (show)

See Also:


Attachments
Patch (2.81 KB, patch)
2017-09-21 16:39 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2017-09-21 16:37:34 PDT
LayoutTest webrtc/video-mute.html is very often failing
Comment 1 youenn fablet 2017-09-21 16:39:19 PDT
Created attachment 321492 [details]
Patch
Comment 2 Darin Adler 2017-09-23 17:36:51 PDT
Comment on attachment 321492 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=321492&action=review

> LayoutTests/webrtc/video-mute.html:-70
> -    internals.observeMediaStreamTrack(remoteTrack);

If observeMediaStreamTrack doesn’t work reliably, should we also be removing it?
Comment 3 youenn fablet 2017-09-25 08:32:43 PDT
Thanks for the review.

(In reply to Darin Adler from comment #2)
> Comment on attachment 321492 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=321492&action=review
> 
> > LayoutTests/webrtc/video-mute.html:-70
> > -    internals.observeMediaStreamTrack(remoteTrack);
> 
> If observeMediaStreamTrack doesn’t work reliably, should we also be removing
> it?

observeMediaStreamTrack works but it seems that trackVideoSampleCount is not always working properly for this particular test.
It is used in LayoutTests/fast/mediastream/captureStream/canvas2d-heavy-drawing.html and seems to work fine there (we cannot replace it there).

Since we just want to make sure that one frame is sent at the webrtc level, getStats is more appropriate anyway.
Comment 4 WebKit Commit Bot 2017-09-25 09:00:02 PDT
Comment on attachment 321492 [details]
Patch

Clearing flags on attachment: 321492

Committed r222445: <http://trac.webkit.org/changeset/222445>
Comment 5 WebKit Commit Bot 2017-09-25 09:00:03 PDT
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2017-09-27 12:22:50 PDT
<rdar://problem/34693164>