Giter Site home page Giter Site logo

Comments (6)

neilcsmith-net avatar neilcsmith-net commented on August 10, 2024

AFAIK it's been removed and replaced by https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-device-probing.html

We need to remove the old mappings and look at mapping the new API!?

from gst1-java-core.

sarxos avatar sarxos commented on August 10, 2024

I think we need to remove it since there is no need to keep dead code in a project. Not sure if we need to map new API now (at least from my perspective, but there may be users who will need it). On Linux and Mac I can iterate over source elements using integer number, but on Windows, with dshowvideosrc, device is mapped by name and it may be impossible to predict it. However, I read about ksvideosrc which takes device-index as an argument, so maybe it can be used instead, but I never use it before and need to verify.

from gst1-java-core.

neilcsmith-net avatar neilcsmith-net commented on August 10, 2024

@sarxos Yes, absolutely we need to remove the dead code! The question bit was more about the device probing. We need to think about how we handle the addition of new API's in GStreamer while making sure the bindings keep working with older versions.

I'm using ksvideosrc in Praxis LIVE. I actually don't device probe at all. I use Bin.launch and provide a series of default launch strings for each platform, but allow the user to override them if required. Lots of benefits to doing that, like allowing for edge cases or alternative source elements.

from gst1-java-core.

judoka1000 avatar judoka1000 commented on August 10, 2024

Well i need to use the DeviceMonitor to get a list of devices(webcams in particular). But the problem is that i don't know how to start working on the implementation of DeviceMonitor in Gstreamer-Java.

Do you have any tips/tricks to do that?

from gst1-java-core.

neilcsmith-net avatar neilcsmith-net commented on August 10, 2024

Device probing has been merged and will be in 0.9.1. Some work ongoing to remove dead API.

from gst1-java-core.

neilcsmith-net avatar neilcsmith-net commented on August 10, 2024

Closing this as the enhancements are in and the removals are covered in other issues.

from gst1-java-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.