Gst.Promise not returning a value

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Gst.Promise not returning a value

Ashwin Dharne
Hey! I've been fiddling with the webrtcbin plugin and for some reason, my Gst.promise.new_with_change_func()'s callback can't access the value that is stored in the promise. I suspected that the promise wasn't changing state properly, but when I print out the return value of promise.wait(), I get:
<enum GST_PROMISE_RESULT_REPLIED of type Gst.PromiseResult>
So it seems like promise.get_reply() should return a value but when I print it, it prints None. What could be the issue? Thanks!

--
Ashwin Dharne
Software Engineer, DMAI Inc.
(949)878-7682

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel