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

Allow gstreamer1.0 #126

Open
takimata opened this issue Oct 21, 2020 · 5 comments
Open

Allow gstreamer1.0 #126

takimata opened this issue Oct 21, 2020 · 5 comments

Comments

@takimata
Copy link

https://harbour.jolla.com/faq says:

Our current packages are from GStreamer 0.10, for API and ABI stability, the GStreamer 1.x series of releases would be preferable for Harbour.

Since Gstreamer 1.16.1 is shipped now, I would like to know whether there’s an update regarding this.
In particular, it would be great to be able to:

  • link to libgstreamer-1.0.so.0
  • having these as allowed dependencies:
    • gstreamer1.0
    • gstreamer1.0-droid
    • gstreamer1.0-plugins-base
    • gstreamer1.0-plugins-good
    • gstreamer1.0-plugins-bad

Also see https://forum.sailfishos.org/t/gstreamer-in-harbour/2743

@pvuorela
Copy link
Contributor

The remaining problem with Gstreamer is that it doesn't out of the box integrate to the resource policies, who can access what hw and when. Looks like the faq needs updating.

@takimata
Copy link
Author

What do you mean with "resource policies"?

Doesn't provide QtMultimedia access to the same hardware components as GStreamer does?
Sure, there are problems when accessing e.g., the camera concurrently, but I think this has to be handled gracefully by the developer.

@pvuorela
Copy link
Contributor

QtMultimedia does but it also automatically handles the resource parts, src/plugins/resourcepolicy/ etc.
App developer doesn't have means to do the same thing unless given an API.

@mlehtima
Copy link
Contributor

In allowed libraries there is https://git.sailfishos.org/mer-core/libaudioresource which can be used to acquire audio resources from non-Qt app such as SDL apps and it should also help with apps using gstreamer directly.

@takimata
Copy link
Author

Ok, so I guess it just depends on having something like a libvideoresource (similar to the libaudioresource available now)...

A short note for me/people who don't know this resourcepolicy stuff:
https://git.sailfishos.org/mer-core/libresource
https://git.sailfishos.org/mirror/qtmultimedia/tree/dev/src/plugins/resourcepolicy
with (possibly outdated) docs at https://n9.dy.fi/meego/html/libresourceqt/main.html?tab=0

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

No branches or pull requests

3 participants