> I am experiencing a problem that has me stumped.  My application uses Live555 
> to stream PCM data over a network.  The problem is that the data received on 
> the client side is corrupt.  The bottom half of the right channel contains 
> noise.  If you take a look at the image hosted here : 
> http://www.freeimagehosting.net/q1cgw you will see what I mean.  The first 
> file is the PCM data directly before transport (obtained from the input 
> buffer in AfterGettingFrame1 in my FramedFilter, the second PCM file is data 
> directly after transport (obtained from the input buffer in 
> AfterGettingFrame1 in my MediaSink).
>  
> My only conclusion is that I must be doing something wrong that causes the 
> transport to add this noise to the right channel during transport, but I 
> cannot figure out what.  Can you perhaps guide me in a direction?

One possibility that comes immediately to mind is that you're not setting 
"fFrameSize" correctly (and/or are not copying the correct number of bytes) in 
your source or filter objects.  Remember that PCM is usually 16-bits per 
sample, so its size in bytes is 2x the number of samples.

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

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to