The more difficult approach is to have one application display the RTSP stream, and use another application to screen capture that like a rtmp server which at rtmp can use IP camera,