<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support for HTML Media Capture API"
   href="https://bugs.webkit.org/show_bug.cgi?id=43239#c40">Comment # 40</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Support for HTML Media Capture API"
   href="https://bugs.webkit.org/show_bug.cgi?id=43239">bug 43239</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=43239#c32">comment #32</a>)
<span class="quote">&gt; Comment on <span class=""><a href="attachment.cgi?id=295147&amp;action=diff" name="attach_295147" title="Rebased patch.">attachment 295147</a> <a href="attachment.cgi?id=295147&amp;action=edit" title="Rebased patch.">[details]</a></span>
&gt; Rebased patch.
&gt; 
&gt; View in context:
&gt; <a href="https://bugs.webkit.org/attachment.cgi?id=295147&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=295147&amp;action=review</a>
&gt; 
&gt; So much progress!
&gt; 
&gt; &gt; Source/WebKit2/UIProcess/API/Cocoa/WKUIDelegatePrivate.h:62
&gt; &gt; +- (void)_webView:(WKWebView *)webView checkUserMediaPermissionForURL:(NSURL *)url mainFrameURL:(NSURL *)mainFrameURL frameIdentifier:(NSUInteger)frameIdentifier decisionHandler:(void (^)(NSString *salt, BOOL authorized))decisionHandler WK_API_AVAILABLE(macosx(WK_MAC_TBA), ios(WK_IOS_TBA));
&gt; 
&gt; What's up with the salt parameter?</span >

It is the string we use to make sure capture device IDs are unique per domain.

<span class="quote">&gt; 
&gt; &gt; Source/WebKit2/UIProcess/Cocoa/UIDelegate.mm:351
&gt; &gt; +#if PLATFORM(IOS)
&gt; 
&gt; Likely we should have a function that does this work and implement it
&gt; separately in e.g. new UIDelegateIOS and UIDelegateMac files, doing the
&gt; different things, to satisfy Sam's comment above. There are also other
&gt; things around that should be (separately) moved into something like that.</span >

Filed: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Separate UIDelegate platform specific code into UIDelegateIOS and UIDelegateMac classes."
   href="show_bug.cgi?id=165101">https://bugs.webkit.org/show_bug.cgi?id=165101</a></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>