<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>188606</bug_id>
          
          <creation_ts>2018-08-15 10:08:15 -0700</creation_ts>
          <short_desc>getUserMedia() fails to honor &quot;deviceId&quot; specified in video constraints.</short_desc>
          <delta_ts>2018-08-15 14:30:41 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebRTC</component>
          <version>Safari 11</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>macOS 10.13</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>187756</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Manjesh Malavalli">mmalavalli</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1450334</commentid>
    <comment_count>0</comment_count>
    <who name="Manjesh Malavalli">mmalavalli</who>
    <bug_when>2018-08-15 10:08:15 -0700</bug_when>
    <thetext>In Safari 11, getUserMedia() always captures video from the first device in the list of devices returned by enumerateDevices(), no matter what deviceId is specified in the video constraints.

Steps to reproduce:

1. Make sure you have two video input sources available.
2. Run https://jsfiddle.net/b9wyx1sc/28/ in Safari 11.

Expected behavior:

- The two video elements should render video from the two video input sources.

Actual behavior:

- Both video elements render video from the first device listed by enumerateDevices().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1450469</commentid>
    <comment_count>1</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-08-15 14:30:37 -0700</bug_when>
    <thetext>Hi Manjesh, thanks for the bug report.
I believe this is the same issue as bug 187756, let&apos;s follow-up there.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1450470</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-08-15 14:30:41 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 187756 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>