aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlmediaelement.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Barebones media UIFernando Jiménez Moreno2019-07-221-10/+68
|/
* Update servo media to include global mute supportFernando Jiménez Moreno2019-07-051-15/+46
|
* Do not use WR external images if frames are not texturesFernando Jiménez Moreno2019-07-041-4/+4
|
* Fix typos, warnings and other nitsFernando Jiménez Moreno2019-07-041-44/+24
|
* Media crateFernando Jiménez Moreno2019-07-041-1/+1
|
* Handle WR's lock/unlock logic under FrameRendererVíctor Manuel Jáquez Leal2019-07-041-9/+89
|
* Add a task source for messages from GLPlayer threadVíctor Manuel Jáquez Leal2019-07-041-3/+26
|
* Add texture image in MediaFrameRendererVíctor Manuel Jáquez Leal2019-07-041-23/+26
|
* Register and unregister a player in GLPlayer threadVíctor Manuel Jáquez Leal2019-07-041-0/+33
|
* Define the channel type for player eventsVíctor Manuel Jáquez Leal2019-07-041-2/+2
|
* Ignore frame if it is a GL textureVíctor Manuel Jáquez Leal2019-07-041-16/+58
| | | | And mock what would be if we handle GL textures.
* Add media (WindowGLContext) module in canvas_traitVíctor Manuel Jáquez Leal2019-07-041-13/+3
| | | | | | | | | | | | | | | | This module adds a structure (WindowGLContext) which holds the OpenGL parameters that are going to be used by servo-media player to render video frames using OpenGL. In order to fill this structure, three new methods were added to WindowMethods trait. In this patch only the Glutin-based implementation provides a simple boilerplate. The WindowGLContext is created in the entry point of libservo, when the application window is created, and later passed to the constellation, the pipeline and to the window element in dom, thus htmlmediaelement has a mean to obtain these parameters via its window.
* Fix some new warningsSimon Sapin2019-06-221-2/+2
|
* Upgrade headers, headers-core, and hyper_serde.Josh Matthews2019-06-131-2/+1
|
* Use media element task source to receive the player's eventsVíctor Manuel Jáquez Leal2019-06-061-1/+1
| | | | | This is crumb left behind when changing the usage of dom task source to the proper media element task source.
* Auto merge of #23459 - Eijebong:compartments, r=jdmbors-servo2019-06-021-7/+3
|\ | | | | | | | | | | | | | | | | | | | | Add an inCompartments config option for bindings Fixes #23257 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23459) <!-- Reviewable:end -->
| * Use the newly added inCompartments option everywhere it can beBastien Orivel2019-05-251-7/+3
| |
* | Pass frame renderer to player only if video elementVíctor Manuel Jáquez Leal2019-05-301-1/+5
| | | | | | | | Otherwise it will only render audio but no video frames.
* | Allow simultaneous playback of audio and video for getUserMediaFernando Jiménez Moreno2019-05-291-8/+9
|/
* Implement HTMLMediaElement.crossorigin attribute logic.Jack Britton2019-05-221-2/+18
|
* No need to clone again the raw data.Víctor Manuel Jáquez Leal2019-05-091-1/+1
| | | | Players frame's get_data() already delivers a cloned raw data.
* Auto merge of #23342 - Manishearth:webrtc-streams, r=ferjmbors-servo2019-05-091-3/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Receive streams in WebRTC (and MediaStreamTrack support) This adds the `ontrack` event handler to webrtc, and all the `MediaStreamTrack` stuff necessary to make it work. WebRTC has the ability to group media tracks into streams using MSIDs, but I haven't yet figured out how to do this. For now, `ontrack` should work. This _should_ be complete, but it hasn't yet been tested (hence the WIP) r? @ferjm or @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23342) <!-- Reviewable:end -->
| * Use MediaStreamTracks in MediaStreamsManish Goregaokar2019-05-071-3/+7
| |
* | Auto merge of #23229 - georgeroman:implement_htmlmediaelement_canplaytype, ↵bors-servo2019-05-071-16/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=ferjm Finish the implementation of the HTMLMediaElement canPlayType method <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22299 <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23229) <!-- Reviewable:end -->
| * Finish the implementation of the HTMLMediaElement canPlayType methodGeorge Roman2019-05-021-16/+5
| |
* | Update Player instantiator APIVíctor Manuel Jáquez Leal2019-05-021-1/+14
|/ | | | | | | | | | | | Now servo/media player requires a new parameter for its creator, which is a trait object that provides the GL parameters needed for setup the generation of frames as GL textures. This patch provides a dummy GL context trait object where the code path will go to the default of raw frames. Webaudio test expectation also were changed, adding two new failing tests.
* Auto merge of #23253 - BartGitHub:refactor-promise-compartment, r=jdmbors-servo2019-04-291-2/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor promise compartment <!-- Please describe your changes on the following line: --> This PR adds a mechanism to verify that certain code is executed inside a ```JSAutoCompartment```, and applies this to the ```Promise::new_in_current_compartment``` constructor. r? @jdm --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23167 <!-- Either: --> - [x] These changes do not require tests because they do not change existing functionality. <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23253) <!-- Reviewable:end -->
| * Pass InCompartment by valueAron Zwaan2019-04-251-1/+1
| |
| * Add proof parameter to Promise::new_in_current_compartmentAron Zwaan2019-04-241-2/+6
| |
* | Auto merge of #23236 - swarnimarun:loop_patch, r=ferjmbors-servo2019-04-291-6/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22290 <!-- Either: --> - [x] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23236) <!-- Reviewable:end -->
| * | Implement HTMLMediaElement.loop AttributeSwarnim Arun2019-04-261-6/+5
| |/
* | Add is_connected flag to node and use it to replace most uses of is_in_docFernando Jiménez Moreno2019-04-261-2/+2
| |
* | Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzianbors-servo2019-04-251-2/+2
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add referrer to navigation fetch request <!-- Please describe your changes on the following line: --> Implement step 13 of [following hyperlinks](https://html.spec.whatwg.org/#following-hyperlinks-2) and step 14.3 of [window open](https://html.spec.whatwg.org/#window-open-steps), as well as other referrer- and fetch-related updates. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22890 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23090) <!-- Reviewable:end -->
| * | set referrer in window.load_urlRussell Cousineau2019-04-191-2/+2
| |/ | | | | | | | | | | | | | | - this conforms to follow-hyperlinks spec step 13 - this conforms to window-open spec step 14.3 - replace uses of `referrer_url` with `referrer` - in Request class, change "no-referrer" to "" - set websocket fetch referrer to "no-referrer"
* / Remove use of auto media backend. And update servo-mediaFernando Jiménez Moreno2019-04-231-1/+2
|/
* Allow replaying mediaFernando Jiménez Moreno2019-04-171-2/+6
|
* Move media backend initialization to process startup.Josh Matthews2019-04-151-2/+0
|
* Auto merge of #23157 - ferjm:gum.playback, r=Manishearthbors-servo2019-04-131-37/+84
|\ | | | | | | | | | | | | | | | | | | | | | | | | MediaStream playback through audio and video elements - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23157) <!-- Reviewable:end -->
| * Do not tie media element 'muted' state change to player availabilityFernando Jiménez Moreno2019-04-111-9/+11
| |
| * MediaStream playback through audio and video elementsFernando Jiménez Moreno2019-04-101-45/+90
| |
* | Implementing the builder pattern for RequestInitLucas Fantacuci2019-04-101-13/+11
| |
* | Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-031-1/+2
|/
* Implement srcObject logic for Blob media providersFernando Jiménez Moreno2019-03-271-13/+63
|
* Use servo-media-auto and call ServoMedia::init where requiredFernando Jiménez Moreno2019-03-251-0/+2
|
* Shutdown player when HTMLMediaElement is droppedFernando Jiménez Moreno2019-03-251-8/+17
|
* #8539 Config preferences backend restructurePeter Hall2019-03-201-5/+4
|
* Added AudioTrack, AudioTrackList, VideoTrack, VideoTrackList, and TrackEvent ↵sreeise2019-03-031-3/+118
| | | | interfaces
* Implement HTMLMediaElement muted and defaultMuted attributesSteve Sweetney2019-02-181-0/+42
|
* No need to share a reference for HTMLMediaElement played TimeRangeFernando Jiménez Moreno2019-01-171-4/+4
|
* Add media cache and implement HTMLMediaElement.bufferingFernando Jiménez Moreno2019-01-171-0/+11
|