[Live-devel] H264 + ulaw streaming with audio vibration

Ross Finlayson finlayson at live555.com
Wed Dec 16 23:29:46 PST 2015


> We have a rtsp server on embedded system, rtsp server will stream out H264+ulaw streaming.
> Now, we face a problem. There is a vlc client to connect our rtsp server.
> If the audio is
> A. under 8K, 16bit, mono ulaw(encode from PCM), we set fDurationInMicroseconds to be 64000. Audio is good.
> B. under 16K, 16bit, stereo ulaw(encode from PCM), we set fDurationInMicroseconds to be 16000. Audio is vibration.

Remember that - for stereo - each PCM sample will be twice as large as it was for mono.  I suspect that your problem has something to do with this.


Ross Finlayson
Live Networks, Inc.
http://www.live555.com/




More information about the live-devel mailing list