Skip to content

get() on WebRTCBin causes java.lang.InstantiationException #240

Open
@suCRR

Description

@suCRR

Hi,

I'm trying to get the ice-agent of on webRTCBin. This property is quite new (I don't know the exact gst version) and most probably isn't known within the java bindings. The property is type of GstWebRTCICE class and I couldn't find a GstWebRTCICE class within the java binding code.

webRTCBin = new WebRTCBin("sendonly"); Object agent = webRTCBin.get("ice-agent");

causes:

java.lang.RuntimeException: java.lang.InstantiationException at org.freedesktop.gstreamer.glib.NativeObject.objectFor(NativeObject.java:195) at org.freedesktop.gstreamer.glib.Natives.objectFor(Natives.java:166) at org.freedesktop.gstreamer.glib.Natives.callerOwnsReturn(Natives.java:140) at org.freedesktop.gstreamer.lowlevel.GTypeMapper$2.fromNative(GTypeMapper.java:113) at com.sun.jna.Function.invoke(Function.java:369) at com.sun.jna.Library$Handler.invoke(Library.java:244) at com.sun.proxy.$Proxy18.g_value_dup_object(Unknown Source) at org.freedesktop.gstreamer.glib.GObject.get(GObject.java:194)

Is there any workaround for this? How could a implement a binding for GstWebRTCICE?

BR Clemens

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions