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

2015-12-17 Thread Ross Finlayson
> Each time, we will put 1024 bytes to ulaw encode and it produce 512 bytes > ulaw data out. > Then we copy 512 bytes to fTo and put 512 to fFrameSize. > For fDurationInMicroseconds, we set 16000. > I think it should be right. But I don’t know why 16K, stereo audio is not > working. Note that, f

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

2015-12-17 Thread Eric_Hsieh
Hi Ross, Thanks for your quickly reply. Each time, we will put 1024 bytes to ulaw encode and it produce 512 bytes ulaw data out. Then we copy 512 bytes to fTo and put 512 to fFrameSize. For fDurationInMicroseconds, we set 16000. I think it should be right. But I don’t know why 16K, stereo audio

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

2015-12-17 Thread Ross Finlayson
Remember also to pass the correct “numChannels” parameter to your call to “SimpleRTPSink::createNew()” (presumably in your “createNewRTPSink()” implementation). For mono, it will be 1 (its default value); for stereo, it will be 2. Ross Finlayson Live Networks, Inc. http://www.live555.com/ __

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

2015-12-16 Thread Ross Finlayson
> 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 goo

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

2015-12-16 Thread Eric_Hsieh
Hi Ross, Thanks for your quickly replay. 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 fDurationInMicrosec

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

2015-12-16 Thread Ross Finlayson
Sorry, but I find your question incomprehensible. Please try again - this time explaining clearly exactly how you are using the “LIVE555 Streaming Media” software (at both the server end, and/or client end, as appropriate), and what specific problem(s) you are encountering. Ross Finlayson Live

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

2015-12-16 Thread Eric_Hsieh
Hi Ross, Now, we face a weird situation under H264+ulaw streaming. Please listening this: https://dl.dropboxusercontent.com/u/38773854/vibrating_voice.mp4 H264 with 8K, mono, 16bit ulaw streaming is ok. We set fDurationInMicroseconds to be 64000. But, H264 with 16K, stereo, 16bit ulaw streaming