Desktop mirroring and VLC streaming

Question was asked before and remained unanswered. So I don’t think that there is a straight forward easy method.

What I do is I configure VLC to stream and have a file entry in OSMC to point to the stream.
https://kodi.wiki/view/Internet_video_and_audio_streams