Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media Session API #24499

Merged
merged 37 commits into from Nov 20, 2019
Merged
Changes from 1 commit
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
4b5b4d1
MediaSession API DOM bindings
ferjm Oct 1, 2019
1ab6500
Set MediaMetadata MediaSession owner
ferjm Oct 2, 2019
f824680
MediaSession registration
ferjm Oct 4, 2019
7101a9d
Use BrowsingContextId for MediaSession registration
ferjm Oct 4, 2019
6233f78
MediaSessionAction message from embedder to script thread
ferjm Oct 4, 2019
fa61191
Make MediaSession handle embedder requested action
ferjm Oct 4, 2019
ec7a4bf
MediaSession: update action handler algorithm
ferjm Oct 7, 2019
31ce7a2
Handle media session action, no default handling yet
ferjm Oct 7, 2019
d7d775a
Extend libsimpleservo API with a method to request a media session ac…
ferjm Oct 7, 2019
fd040b0
Extend libsimpleservo API with a callback for media session activation
ferjm Oct 7, 2019
9c329a7
Add embedder message to (de)activate media session
ferjm Oct 7, 2019
4d147d2
Register media instance with session and prepare communication with e…
ferjm Oct 8, 2019
89d9e3a
Introduce embedder MediaSessionEvent and move active session to Servo
ferjm Oct 9, 2019
7ca74d5
MediaSession: refactor embedder API. Fix Android build
ferjm Oct 9, 2019
3f65694
MediaSession Android bits
ferjm Oct 10, 2019
761f21f
Send MediaSessionEvent::PlaybackStateChange when needed
ferjm Oct 16, 2019
dd63ba4
MediaSession show media controls on Android
ferjm Oct 18, 2019
0bbacdd
Move media session related code out of MainActivity
ferjm Oct 18, 2019
b494acb
Adapt MediaMetadata interface to new way of declaring constructors
ferjm Oct 18, 2019
08f9f17
Send MediaSessionAction from Android
ferjm Oct 18, 2019
85ec66b
Move active media session logic to constellation
ferjm Oct 28, 2019
68baabb
Format code and fix rebase errors
ferjm Nov 6, 2019
9da1dd3
Default media session actions
ferjm Nov 12, 2019
b048d7f
Fix media session action handling
ferjm Nov 12, 2019
b5b8c6c
Remove prev and next track action buttons for now
ferjm Nov 13, 2019
07483f1
Switch play and pause buttons according to playback state
ferjm Nov 13, 2019
7b5b46f
Fix play action
ferjm Nov 13, 2019
caedc28
Do not play notification sound when creating media session on Android
ferjm Nov 13, 2019
6ee21af
Update media session metadata according to media player
ferjm Nov 14, 2019
d33c96b
Fallback to current url as metadata title
ferjm Nov 15, 2019
f65c400
Update media session metadata and show content text with artist and a…
ferjm Nov 15, 2019
35c4c35
Fix metadata update
ferjm Nov 18, 2019
59f22ab
Remove stop button for now and show play/pause in compact mode
ferjm Nov 18, 2019
ba48e54
Enable MediaSession WPT
ferjm Nov 18, 2019
ca1a2e0
Update test expectations
ferjm Nov 19, 2019
6dcdfef
Fix simpleservo build
ferjm Nov 19, 2019
9f77ea1
Mach fmt, this time including C++ files
ferjm Nov 20, 2019
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Update test expectations

  • Loading branch information
ferjm committed Nov 20, 2019
commit ca1a2e052543542e07e3ae6ab379ba942bfcf075
@@ -19023,7 +19023,7 @@
"testharness"
],
"mozilla/interfaces.html": [
"4006cae2d79ba4ca21c229084fcb528b8a4156f1",
"db1c5f553443121aa8eba862bcbaa3189ee42c2c",
"testharness"
],
"mozilla/interfaces.js": [
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.