<?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>157366</bug_id>
          
          <creation_ts>2016-05-04 16:56:02 -0700</creation_ts>
          <short_desc>[iOS] Playback does not pause when locking screen after playing to AirPlay.</short_desc>
          <delta_ts>2016-05-05 12:24:08 -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>Media</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Carlson">eric.carlson</reporter>
          <assigned_to name="Eric Carlson">eric.carlson</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1190273</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2016-05-04 16:56:02 -0700</bug_when>
    <thetext>Playback does not pause when locking screen after playing to AirPlay.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1190274</commentid>
    <comment_count>1</comment_count>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2016-05-04 17:01:02 -0700</bug_when>
    <thetext>&lt;rdar://problem/22100651&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1190275</commentid>
    <comment_count>2</comment_count>
      <attachid>278144</attachid>
    <who name="Eric Carlson">eric.carlson</who>
    <bug_when>2016-05-04 17:02:32 -0700</bug_when>
    <thetext>Created attachment 278144
Proposed patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1190295</commentid>
    <comment_count>3</comment_count>
      <attachid>278144</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-04 17:55:19 -0700</bug_when>
    <thetext>Comment on attachment 278144
Proposed patch.

Clearing flags on attachment: 278144

Committed r200446: &lt;http://trac.webkit.org/changeset/200446&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1190296</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2016-05-04 17:55:22 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1190412</commentid>
    <comment_count>5</comment_count>
      <attachid>278144</attachid>
    <who name="Jeremy Jones">jeremyj-wk</who>
    <bug_when>2016-05-05 12:24:08 -0700</bug_when>
    <thetext>Comment on attachment 278144
Proposed patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=278144&amp;action=review

&gt; Source/WebCore/platform/audio/PlatformMediaSession.cpp:294
&gt; +    // if we in the background.

&quot;because if we in the background&quot; doesn&apos;t sound right maybe &quot;while in the background&quot;.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>278144</attachid>
            <date>2016-05-04 17:02:32 -0700</date>
            <delta_ts>2016-05-04 17:55:19 -0700</delta_ts>
            <desc>Proposed patch.</desc>
            <filename>background_playback_patch_1.txt</filename>
            <type>text/plain</type>
            <size>1822</size>
            <attacher name="Eric Carlson">eric.carlson</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0t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