Bug 146642

Summary: [Mac] Inactive AirPlay route should automatically timeout
Product: WebKit Reporter: Eric Carlson <eric.carlson>
Component: MediaAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Proposed patch.
none
Updated patch. bfulgham: review+

Description Eric Carlson 2015-07-06 09:32:27 PDT
Invalidate an AirPlay route when a media element has been paused for long enough.
Comment 1 Eric Carlson 2015-07-06 09:41:06 PDT
<rdar://problem/21602955>
Comment 2 Eric Carlson 2015-07-06 10:19:08 PDT
Created attachment 256218 [details]
Proposed patch.
Comment 3 WebKit Commit Bot 2015-07-06 10:22:04 PDT
Attachment 256218 [details] did not pass style-queue:


ERROR: Source/WebCore/Modules/mediasession/WebMediaSessionManager.cpp:179:  Weird number of spaces at line-start.  Are you using a 4-space indent?  [whitespace/indent] [3]
Total errors found: 1 in 6 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 4 Eric Carlson 2015-07-06 10:55:19 PDT
Created attachment 256220 [details]
Updated patch.
Comment 5 Brent Fulgham 2015-07-06 10:59:32 PDT
Comment on attachment 256220 [details]
Updated patch.

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

r=me. Please correct that indentation issue.

> Source/WebCore/Modules/mediasession/WebMediaSessionManager.cpp:181
> +}

Whoops! This brace needs to be indented to match the "if" statement.
Comment 6 Eric Carlson 2015-07-06 11:06:23 PDT
Committed r186361: https://trac.webkit.org/r186361