I wrote such a test program for broadcasting a video stream via RTP to the VLS program
int main(int argc, char* argv[])
{
    QApplication app(argc, argv);
    gst_init(&argc, &argv);
    GstElement* pipeline = gst_parse_launch("videotestsrc ! autovideosink ! udpsink host=127.0.0.1 port=5000", nullptr);
    gst_element_set_state(pipeline, GST_STATE_PLAYING);
    app.exec();
    gst_element_set_state(pipeline, GST_STATE_NULL);
    gst_object_unref(pipeline);
    return 0;
}
When I start it I have this log:
onecore\com\combase\dcomrem\resolver.cxx(2283)\combase.dll!75AF2B56: (caller: 75AF5120) ReturnHr(1) tid(1a3c) 80070422 The specified service cannot be started because either it itself or all devices connected to it.