Sick and Painful Though-Of-The-Day:
If you can guarantee that the Win32 based server has it's audio recording
system set up to Record from all output channels, including "Wave Out", I
have a class that will call a function of your choosing for every N samples
of audio data. You could then transmit that over the link back to the
viewer and pump it into the client's Wave Out to hear everything.
This is a relatively large hammer, since I think all you wanted was
particular events to transmit sound.
Several problems:
1. SLOW - streaming uncompressed audio requires a BIG network pipe.
2. Dropouts, jitters, etc - Unless you have guaranteed flowrate between the
computers, you'll hear audio dropouts when spikes in network usage
temporarily block your audio flow.
3. Some programs on the server will refuse to open because they can't grab
the audio device (because it is being used to record local audio)
I have done this for a project at work, so I'm not sure if I can give away
any of the code, but if you really want to try it, most of the tricky bit
came from a recent edition of Charles Petzold's "Programming Windows".
Also, if you look in the windows SDK documentation, you should be able to
find documentation on audio codecs (COmpressor/DECompressors), which will
substantially decrease the network load of the audio stream, potentially
even making it possible to use over a modem.
http://msdn.microsoft.com/library
You want the Platform SDK, Multimedia, and look around.
OH, and if you do it, don't just send every audio packet you receive. Most
of the time the computer won't be making any sound, so you would just be
wasting bandwidth transmitting a flat wave. When each audio packet comes
in, see what the largest deflection from centerline is, and only transmit
it if it exceeds some value.
OH (again), this also means that you could hear what was going on in the
server room, if the server is equipped with a microphone...
Mac
At 04:35 PM 2/13/01 +0900, you wrote:
>Hi everyone,
>
>I am interested to export/regenerate sound at the client machine whenever a
>new message window appear on the server machine. Is there anyone tried to
>go in this direction with VNC or I am the first one. Also if anyone could
>guide/update me with his knowledge to have this functionality then it will
>be a great help. It will give me a kick start instead of inventing the
>wheel again. Feel free to send e-mail to me at [EMAIL PROTECTED]
>
>Best Regards
>
>Saeed Khan
>---------------------------------------------------------------------
>To unsubscribe, send a message with the line: unsubscribe vnc-list
>to [EMAIL PROTECTED]
>See also: http://www.uk.research.att.com/vnc/intouch.html
>---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------