added new ability to use remote video as video source