How to get streammux message from bus in gstreamer

You can refer c++ version parsing message type GST_MESSAGE_ELEMENT
in any app function bus_call