Bug 171168 - [MediaStream] Fix regression caused by r215626
Summary: [MediaStream] Fix regression caused by r215626
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks: 171095
  Show dependency treegraph
 
Reported: 2017-04-22 11:20 PDT by Eric Carlson
Modified: 2017-04-22 11:47 PDT (History)
3 users (show)

See Also:


Attachments
Proposed patch. (2.06 KB, patch)
2017-04-22 11:36 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2017-04-22 11:20:59 PDT
MediaStream::mediaState should test muted before m_isProducingData because if both are true we want to report that the stream is muted.
Comment 1 Radar WebKit Bug Importer 2017-04-22 11:21:33 PDT
<rdar://problem/31774787>
Comment 2 Eric Carlson 2017-04-22 11:36:45 PDT
Created attachment 307913 [details]
Proposed patch.
Comment 3 Eric Carlson 2017-04-22 11:47:04 PDT
Comment on attachment 307913 [details]
Proposed patch.

Committed https://trac.webkit.org/r215668.