Repository navigation
Played media through GStreamer - #19
Closed
colemancda wants to merge 12 commits into
Closed
colemancda wants to merge 12 commits into
colemancda wants to merge 12 commits into
Conversation
Member
Author
|
Opened by mistake: this branch already exists with other work (PR #18 is merged from it), and the push of a separate local branch of the same name was rejected, so this PR shows that branch's later commits under the wrong description. Closing; nothing here needs review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
LinuxMedia, the media player contract (AppRuntime'sMediaPlayer.md), so a guest'sMediaPlayerplays and itsVideoPlayershows the picture.HostMediaPlayback, over aMediaEngineper player that is a GStreamerplaybin.unavailable.appsinkas RGBA, with at most two waiting and late ones dropped.canPlayanswers from the plugins found.HostVideoViewinLinuxUIdrawsVideoPlayernodes, scaled byscaling. Its controls (play and pause, a scrubber, the time) hide after three seconds of playing and come back with a tap.controls: .noneshows the picture alone.linux-app-hostand the packager, which now accepts theaudiocapability.Plan.md§15 describes it (the sections after it are renumbered), and the README lists it. CI and the Dockerfile installlibgstreamer1.0-0and the base, good and libav plugins.Checked on Debian 13 x86_64 with GStreamer 1.26:
guest.pyforlinux-x86_64played a 640 × 360 H.264 and AAC MP4 from its bundle throughlinux-app-host, offscreen.onEndfired at the end.swift testpasses.Building a guest for x86_64 Linux needs PureSwift/AppRuntime#36.
Not yet: