OpenTok, or any other framework, doesn't get the video stream directly from the camera. It asks the browser to redirect the camera feed. So you would have to trick the browser into providing a video file instead.
The easiest way to do this is to install a virtual webcam software. There are many options for that but I usually go with splitcam, mainly because it's free.