I'm aware of the preferred model for unicast, testOnDemandRTSPServer.
However, it didn't seem to work with continuous streaming
from stdin. On the other hand streaming wav files works fine with
testOnDemandRTSPServer.
Simply modifying testOnDemandRTSPServer to read from stdin
Remember that - because you're reading from a single input source -
you must also change "reuseFirstSource" to "True".
did not work for:
% audiorecord -p mic -T wav | testOnDemandRTSPServer
This gives audio overflow error and:
% cat test.wav | testOnDemandRTSPServer
did not work either.
Any advice would be greatly appreciated,
The problem is probably that the output from your audio input device
- unlike ".wav" files - does not begin with WAV file headers.
Therefore the "WAVAudioFileSource" code can't set the appropriate
parameters (number of channels, samplng frequency, bit rate) for the
audio stream.
The easiest way to overcome this would be to (somehow) hack your
audio input device so that the first data it outputs is an
appropriate set of WAV file headers.
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel