SDPMedia fails setting media attribute
Hello gst-python team,
i am using this code to set the media attribute on a SDPMedia object:
sdp_media: SDPMedia = GstSdp.sdp_media_new()
sdp_media.set_media(med="audio")
On my ubuntu box it fails with the following exception:
File "/home/bobrunney/PycharmProjects/NLU/src/nlu_engine/test_sdp_media.py", line 14, in sdp_media.set_media(med="audio") AttributeError: '_ResultTuple' object has no attribute 'set_media'
Is this a bug or do i use the api the wrong way ?
gstreamer version: Initializing GStreamer Core Library version 1.16.2 Ubuntu 20.04 LTS
Please see attached a simple test case and the gst_debug output. Thanks in advancetest_sdp_media.pygst_gebug.txt