ICE candidate negotiation process

Neil Young foreverneilyoung at googlemail.com
Fri Jul 10 18:29:55 UTC 2020


A bit further:

        self.webrtc.connect('notify::ice-connection-state', self.on_ice_connection_state)

and later:


    def on_ice_connection_state(self, param1, param2):
        print("***ON ICE CONNECTION STATE {} {}".format(param1, type(param2)))
        
***ON ICE CONNECTION STATE <__gi__.GstWebRTCBin object at 0x112639a00 (GstWebRTCBin at 0x7fe915310220)> <class 'gobject.GParamSpec'>

But I can't currently figure out, what element of the "gobject.GParamSpec" contains the value. I can access "name", "nick", "blurb", "flags", but no value...




> Am 10.07.2020 um 12:20 schrieb Matthew Waters <ystreet00 at gmail.com>:
> 
> I'm not aware of anything for this specific example, no.  There are
> plenty of other examples regarding GObject notify signalling for other
> properties though.
> 
> On 10/7/20 2:55 pm, Neil Young wrote:
>> Thanks Matthew. Are you aware of any sample code, demonstrating that for GStreamer and Python?
>> 
>> 
>>> 'ice-connection-state' and 'ice-gathering-state' on webrtcbin.  Use the
>>> GObject notify signal to track changes.
>>> 
>>>> On 10/7/20 3:36 am, Neil Young wrote:
>>>> Hi,
>>>> 
>>>> I'm wondering, if there would be kind of a status callback, which provides me the ICE negotiation state. I'm using the Python bindings of GStreamer.
>>>> 
>>>> Regards
>>>> 
>>>> _______________________________________________
>>>> gstreamer-devel mailing list
>>>> gstreamer-devel at lists.freedesktop.org
>>>> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200710/f0433fae/attachment.htm>


More information about the gstreamer-devel mailing list