Gst_element_get_state: assertion 'GST_IS_ELEMENT (element)' failed Traceback (most recent call last):

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

Please provide your platform information and the docker container version.