View Single Post
tz1's Avatar
Posts: 716 | Thanked: 236 times | Joined on Dec 2007
#16
Ah, it seems external sites might want to open the "first" webcam.

This is fixed (I haven't tried a reboot!) without the preload by swapping /dev/video0 and /dev/video1 (mv video0 video3; mv video1 video0; mv video3 video1). Flashcam then proxies video1 to video2, but it seems to work when it didn't before.

(update - the camera and videocam applications don't work with the devices reversed - I suppose a script or something could do it when flashcam starts up).

http://www.newgrounds.com/portal/view/326194 has a quick add webcam to game tutorial which worked.

Also http://www.red5chat.com worked - I tried the demo, and the cam was visible on another computer (It didn't go both ways, but it was NAT so both the pad and the computer had the same IP).

Last edited by tz1; 2008-05-11 at 17:06. Reason: swap dev side-effects