<?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>195868</bug_id>
          
          <creation_ts>2019-03-17 17:45:36 -0700</creation_ts>
          <short_desc>Non-standard video resolutions are not sent to peer</short_desc>
          <delta_ts>2019-08-17 08:30:34 -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 12</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>iOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chad Phillips">webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>eric.carlson</cc>
    
    <cc>jonlee</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1517584</commentid>
    <comment_count>0</comment_count>
    <who name="Chad Phillips">webkit</who>
    <bug_when>2019-03-17 17:45:36 -0700</bug_when>
    <thetext>Tests at https://jsfiddle.net/thehunmonkgroup/kmgebrfz/15/ seem to indicate that iOS 12.2 Beta now supports arbitrary video resolutions when acquiring a stream via navigator.mediaDevices.getUserMedia().

Local display of the acquired stream works fine, however, when sending that same stream to a peer connection, no data is received by the peer.

I&apos;ve whipped up a quick test case to illustrate the issue:

1. Visit https://staging-connect.circleanywhere.com/public/ios/qqvga-stream-not-sent-to-peer/#vga in Google Chrome and via an iOS device, and notice that the Google Chrome instance correctly receives the video stream from the iOS device. This configuration sets the video constraints at VGA resolution, which in iOS 12.1 is an available &apos;standard&apos; resolution.

2. Visit https://staging-connect.circleanywhere.com/public/ios/qqvga-stream-not-sent-to-peer/ in Google Chrome and via an iOS device, and notice that the Google Chrome instance DOES NOT correctly receive the video stream from the iOS device. This configuration sets the video constraints at QQVGA resolution, which in iOS 12.2 is an available &apos;scaled&apos; resolution as far as I can tell.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1518066</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-03-18 18:54:44 -0700</bug_when>
    <thetext>&lt;rdar://problem/49003736&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1524773</commentid>
    <comment_count>2</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2019-04-05 11:37:52 -0700</bug_when>
    <thetext>Hi Chad, thanks for the report.
I was able to repro it on iOS. MacOS does not seem to have the issue.

https://youennf.github.io/webrtc-tests/src/content/peerconnection/pc-h264/ shows the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1542941</commentid>
    <comment_count>3</comment_count>
    <who name="youenn fablet">youennf</who>
    <bug_when>2019-06-07 14:07:44 -0700</bug_when>
    <thetext>Please try it on the latest iOS 13 beta.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1543009</commentid>
    <comment_count>4</comment_count>
    <who name="Chad Phillips">webkit</who>
    <bug_when>2019-06-07 16:47:20 -0700</bug_when>
    <thetext>My iPhone is too old for iOS 13, I&apos;ll test and report back once I get a newer device to test with, should be fairly soon.

In the meantime, will this fix be backported to iOS 12?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1544284</commentid>
    <comment_count>5</comment_count>
    <who name="Chad Phillips">webkit</who>
    <bug_when>2019-06-12 16:39:14 -0700</bug_when>
    <thetext>Is there some other way to get iOS 13 beta for testing besides installing XCode or OS X beta? Not really wanting to do that.

When with the over the air update be available for developers?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1562478</commentid>
    <comment_count>6</comment_count>
    <who name="Chad Phillips">webkit</who>
    <bug_when>2019-08-17 08:30:34 -0700</bug_when>
    <thetext>I&apos;ve confirmed this bug is fixed on iOS 13 Beta -- however, it&apos;s still an issue on iOS 12.4, so the fix was not backported.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>