<span class="gmail_quote"></span>Hi <br>
<br>
I am developing a program that deals with rtpstreams.<br>
<br>
I have a procedure that need to accept rtp stream and&nbsp; after decoding it forward it&nbsp; to another&nbsp; host: <br>
<br>
I implement a receiving part of&nbsp; incomming G711 Alaw rtp stream by building a pipeline simmilar to:<br>
----------------------------------<br>
rtpbin&nbsp; rtcp-support=false localport=ZZ !
application/x-rtp,clock-rate=8000,media=audio,payload=8,encoding-name=PCMA
! rtppcmadepay ! alawdec<br>
--------------------------------------<br>
And I have a piece of code (that I do not want to change now !!!) that implements the following pipeline<br>
-------------------------------<br>
alawenc ! rtppcmapay max-ptime=20000000 !
application/x-rtp,clock-rate=8000,media=audio,payload=8,encoding-name=PCMA
! rtpbin destinations=X.X.X.X:Y localport=XX<br>
---------------------------------<br>
<br>
In order to forward the stream I link this two pipelines together, so I
get the following big pipeline that I am trying to test from the
command line.<br>
<br>
gst-launch-0.10&nbsp; rtpbin&nbsp; rtcp-support=false localport=12345 !
application/x-rtp,clock-rate=8000,media=audio,payload=8,encoding-name=PCMA
! rtppcmadepay ! alawdec ! alawenc ! rtppcmapay max-ptime=20000000 !
application/x-rtp,clock-rate=8000,media=audio,payload=8,encoding-name=PCMA
! rtpbin destinations=<a href="http://127.0.0.1:12358" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">127.0.0.1:12358</a> localport=12348 <br>
<br>
The problem is that if I am starting rtpstream before I launch the above command all outgoing packets have constant timestamp!<br>
But if I start the command above before I start rtpstream, outgoing stream from my host looks fine.<br>
<br>
So I guess that I have a sync problem that I do not know how to solve.<br>
<br>
Please help me to solve it !<br>
<br>
Thanks <br><span class="sg">
<br>
Rony,<br>
<br>

</span>