<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WKWebView should provide a way for client's to know the specific media state."
   href="https://bugs.webkit.org/show_bug.cgi?id=169140#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WKWebView should provide a way for client's to know the specific media state."
   href="https://bugs.webkit.org/show_bug.cgi?id=169140">bug 169140</a>
              from <span class="vcard"><a class="email" href="mailto:agold&#64;apple.com" title="Andrew Gold &lt;agold&#64;apple.com&gt;"> <span class="fn">Andrew Gold</span></a>
</span></b>
        <pre>(In reply to <a href="show_bug.cgi?id=169140#c4">comment #4</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=303598&amp;action=diff" name="attach_303598" title="Proposed patch.">attachment 303598</a> <a href="attachment.cgi?id=303598&amp;action=edit" title="Proposed patch.">[details]</a></span>
&gt; Proposed patch.
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=303598&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=303598&amp;action=review</a>
&gt; 
&gt; &gt; Source/WebKit2/ChangeLog:3
&gt; &gt; +        WKWebView should provide a way for client's to know the specific media state.
&gt; 
&gt; No apostrophe.</span >

Oops.

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/ChangeLog:4
&gt; &gt; +        <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WKWebView should provide a way for client's to know the specific media state."
   href="show_bug.cgi?id=169140">https://bugs.webkit.org/show_bug.cgi?id=169140</a>
&gt; 
&gt; Please include the Radar number.</span >

Done.

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/UIProcess/WebPageProxy.cpp:6455
&gt; &gt; +    if ((oldState &amp; activeCaptureMask) != (m_mediaState &amp; activeCaptureMask))
&gt; 
&gt; Isn't this just `if (oldMediaStateHasActiveCapture !=
&gt; newMediaStateHasActiveCapture)`?</span >

No, because the MediaState may change for reasons other than a capture session beginning or ending (such as when audio/video starts playing).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>