Well, of course. Hold a video camera up to the iMac's screen!
Seriously, though, to get a better answer, we'll need more information. What are you trying to record? What technology is being used to stream it? Is it flash? Is it Real media? Is it Silverlight? QuickTime?