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

feat(status): cards & peertube viewer #245

Merged
merged 4 commits into from
May 13, 2023
Merged

Conversation

GeopJr
Copy link
Owner

@GeopJr GeopJr commented May 12, 2023

Cards ✨

link:
image

video:
image

clicking on a card will show a dialog since it's an out-of-instance request and users should confirm for privacy reasons:
image

PeerTube 🐙

PeerTube videos should now play on the built-in media viewer

ℹ️ qualities higher than 720p become laggy on my machine (gstreamer backend, I haven't tested on ffmpeg) so I set some limits (720, 480, 360 are preferred unless they are not available)

Similarly, PeerTube videos require out-of-instance requests and a similar dialog shows up:
image

fix: #244

edit:

there's an option in settings to disable cards

@GeopJr GeopJr mentioned this pull request May 12, 2023
4 tasks
@GeopJr
Copy link
Owner Author

GeopJr commented May 12, 2023

Ideally, inputstream + mediastream should be used for peertube but i've fallen into this bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4062

using file with uri works but doesn't seem to exit correctly (sound still plays even after destroying)

@GeopJr GeopJr marked this pull request as ready for review May 13, 2023 01:23
@GeopJr
Copy link
Owner Author

GeopJr commented May 13, 2023

The stopping issue seems to have been fixed by unpreparing the stream 🤷

@GeopJr GeopJr merged commit aa17cb3 into main May 13, 2023
@GeopJr GeopJr deleted the feat/status/cards-peertube branch May 13, 2023 03:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Request]: Peertube support
1 participant