How to create StreamEffect use RemoteTrack Video?

Hi all,
I want to realize the following effects by modifying the source code of jitsi-meet。I found this,when i shared desktop and open local Video,The lower right corner of the shared area can have local video track,my question is,how can i replace the PresenterStreamEffect using remote video Track.

sorry for my poor english, Some of the above words were translated by google.

Looking forward to any reply!

best regards.

@damencho hi damencho,Any suggestions?