Bug 156705 - [iOS] don't toggle playback when media engine rate changes
Summary: [iOS] don't toggle playback when media engine rate changes
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-04-18 09:11 PDT by Eric Carlson
Modified: 2016-04-18 13:51 PDT (History)
2 users (show)

See Also:


Attachments
Proposed patch. (2.16 KB, patch)
2016-04-18 13:29 PDT, Eric Carlson
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Carlson 2016-04-18 09:11:18 PDT
Don't send Play and Pause commands to HTMLMediaElement when the media engine's internal state changes while playing to AppleTV, this will cause a "pause" to rebuffed to stop playback.
Comment 1 Radar WebKit Bug Importer 2016-04-18 09:12:24 PDT
<rdar://problem/25779175>
Comment 2 Eric Carlson 2016-04-18 13:22:03 PDT
(In reply to comment #0)
> Don't send Play and Pause commands to HTMLMediaElement when the media
> engine's internal state changes while playing to AppleTV, this will cause a
> "pause" to rebuffed to stop playback.

I meant to write: Don't *always* send ...
Comment 3 Eric Carlson 2016-04-18 13:29:23 PDT
Created attachment 276661 [details]
Proposed patch.
Comment 4 Eric Carlson 2016-04-18 13:50:52 PDT
Comment on attachment 276661 [details]
Proposed patch.

Committed r199687: http://trac.webkit.org/changeset/199687