<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16440"></HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space">
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS">Hi Ross,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS"></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS">I found the problem and manage to fix it even though
I am not entirely sure of the reason for it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS"></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS">I have my own custom AudioRTPSink for PCM
data. Removing the MultiFramedRTPSink::doSpecialFrameHandling call from the
doSpecialFrameHandling function in my derived AudioRTPSink solved the
problem. I can only speculate that one of the parameters of the function
might have been incorrect.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS"></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS">In any case, removing this call gives me crystal
clear sound and it seems to have no adverse effect on my
application.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS"></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=098215610-03022012><FONT color=#005080
size=2 face="Trebuchet MS">Thanks for you help.</FONT></SPAN></DIV>
<DIV align=left><FONT color=#005080
face="Trebuchet MS"><STRONG>___________________________________</STRONG></FONT></DIV><STRONG><SPAN
class=414354409-10092010> </SPAN><BR></STRONG>
<DIV align=left><FONT color=#005080 face="Trebuchet MS"><SPAN
class=414354409-10092010><FONT color=#000000 face=Arial><STRONG><FONT
color=#005080 size=2 face="Trebuchet MS">Marlon
Reid</FONT> </STRONG></FONT></SPAN></FONT></DIV><BR>
<DIV align=left><FONT color=#909090 size=1
face="Trebuchet MS"></FONT></DIV><STRONG><IMG border=0 hspace=0 alt=""
align=baseline src="cid:098215610@03022012-2F86"><BR></STRONG>
<DIV align=left><FONT color=#909090 size=1 face="Trebuchet MS"><STRONG>Web:
</STRONG><A title=http://www.scansoft.co.za/
href="http://www.scansoft.co.za/"><STRONG
title=http://www.scansoft.co.za/>www.scansoft.co.za</STRONG></A></DIV>
<DIV align=left><FONT color=#909090 size=1
face="Trebuchet MS"><STRONG>Tel: +27 21 913 8664</STRONG></FONT></DIV>
<DIV align=left><FONT color=#909090 size=1 face="Trebuchet MS"><STRONG>Cell: +27
72 <SPAN class=414354409-10092010><FONT color=#000000 size=2
face=Arial> <FONT color=#909090 size=1 face="Trebuchet MS">359
0902</FONT> </FONT></SPAN></STRONG></FONT></DIV></FONT>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT color=#005080 size=2 face="Trebuchet MS"></FONT> </DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> live-devel-bounces@ns.live555.com
[mailto:live-devel-bounces@ns.live555.com] <B>On Behalf Of </B>Ross
Finlayson<BR><B>Sent:</B> 03 February 2012 10:22 AM<BR><B>To:</B> LIVE555
Streaming Media - development & use<BR><B>Subject:</B> Re: [Live-devel] PCM
data gets corrupt during transport<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<BLOCKQUOTE type="cite">
<DIV
style="Z-INDEX: auto; POSITION: static; BACKGROUND-COLOR: rgb(224,224,224); FONT-FAMILY: Arial; COLOR: rgb(0,0,0); FONT-SIZE: 10pt"
bgcolor="#e0e0e0" background="">
<DIV><FONT color=#005080 face="Trebuchet MS"><SPAN class=414210307-03022012>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 : <A
href="http://www.freeimagehosting.net/q1cgw">http://www.freeimagehosting.net/q1cgw</A> 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).</SPAN></FONT></DIV>
<DIV><FONT color=#005080 face="Trebuchet MS"><SPAN
class=414210307-03022012></SPAN></FONT><FONT color=#005080
face="Trebuchet MS"><SPAN class=414210307-03022012></SPAN></FONT> </DIV>
<DIV><FONT color=#005080 face="Trebuchet MS"><SPAN class=414210307-03022012>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?</SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV></DIV>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.<BR><BR>
<DIV apple-content-edited="true"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; LETTER-SPACING: normal; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; ORPHANS: 2; COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>Ross Finlayson<BR>Live Networks, Inc.<BR><A
href="http://www.live555.com/">http://www.live555.com/</A></SPAN></SPAN>
</DIV><BR></BODY></HTML>