Skip to content

Element.get("stats") not working #173

Closed
@thomas-schn

Description

@thomas-schn

If im trying to get the property "stats" from an Element like this:

BaseSink srtserversink = (BaseSink) ElementFactory.make("srtsink", "srtsink");
srtserversink.set("uri", "srt://:8888/");
Object stats = srtserversink.get("stats");

i'm getting an Exception, although the property should be present on the element:
Exception in thread "main" java.lang.IllegalArgumentException: Unknown conversion from Type=[GstStructure:705543728] at org.freedesktop.gstreamer.glib.GObject.get(GObject.java:210)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions