Skip to content

sendrecv/gst: Fix python webrtc sample

Currently running this Python webrtc example gives several warnings and eventually stops working after some time.

GstStructure is not subscriptable and GstCaps does not have a 'len'. Also, the method adding the element to the pipeline bin only takes one argument which is the element to be added.

This fixes all the above warnings/errors.

Merge request reports

Loading