<div dir="ltr"><div class="gmail_extra"><div>Do you mean the CHANGE_SSRC_ON_MARKER setting? <br></div><div><br></div><div>I don&#39;t think that&#39;s the way to address it. Marker aside, I&#39;d like the SSRC to change when switching from locally generated to relayed media, but I guess that would also cause the &quot;problems with some devices&quot; of which you speak.</div>
<div><br></div><div>If you mean rtp-rewrite-timestamps then I&#39;m divided. </div><div><br></div><div>What I can&#39;t work out is why the SSRC isn&#39;t changing when the source changes. My reading of the code says it should be.<br>
</div><div><br></div><div>Richard</div><br><div class="gmail_quote">On 28 March 2014 13:11, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I believe that setting was the other way around in my original patch (to use this by default). However, even if it sounds like it should be more compliant, it caused problems with some devices - that&#39;s why it ended up like this. It was some time ago - so I don&#39;t remember every detail though.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote">2014-03-28 13:39 GMT+01:00 Richard Brady <span dir="ltr">&lt;<a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a>&gt;</span>:<div><div class="h5">
<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">Thanks Peter</div><div class="gmail_extra"><br></div><div class="gmail_extra">That&#39;s really useful. I opted for rtp-rewrite-timestamps but had missed that one and will try it next if I don&#39;t see an improvement. There&#39;s also RTP_BUG_SEND_LINEAR_TIMESTAMPS.</div>


<div class="gmail_extra"><br></div><div class="gmail_extra">I&#39;m quite confident I can work around the issue but would like to make sure that if there is an RFC non-compliance in default FS we get it resolved for the benefit of others. </div>


<div class="gmail_extra"><br></div><div class="gmail_extra">My understanding:</div><div class="gmail_extra"><br></div><div class="gmail_extra">The marker bit makes it ok to jump the timestamp for silence suppression / discontinuous transmission etc.<br>


</div><div class="gmail_extra"><br></div><div class="gmail_extra">BUT the marker bit doesn&#39;t make it ok to change the timestamp SOURCE (and jump the timestamp backwards for example). In that case the SSRC MUST change too. </div>


<div class="gmail_extra"><br></div><div class="gmail_extra">Regards,</div><div class="gmail_extra">Richard</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On 28 March 2014 11:08, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter@olssononline.se" target="_blank">peter@olssononline.se</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">There is actually a setting to force new SSRC in a condition like that.<div>


<br></div><div>Internally it&#39;s called RTP_BUG_CHANGE_SSRC_ON_MARKER. If I remember correctly it should be set in the sofia profile config:<br>
</div><div><br></div><div>&lt;param name=&quot;auto-rtp-bugs&quot; data=&quot;CHANGE_SSRC_ON_MARKER&quot;/&gt;<br></div><div><br></div><div>Try that out and see if it helps.</div><div><br></div><div>/Peter</div></div><div class="gmail_extra">



<br><br><div class="gmail_quote">2014-03-28 11:37 GMT+01:00 Richard Brady <span dir="ltr">&lt;<a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div><div>
<div dir="ltr">Hi Anthony and team<div><br></div><div>I have a situation where the timestamp in a RTP stream generated by FS jumps backwards. Version 1.2.22.</div><div><br></div><div>It seems the cause of this is that media from the A leg starts late. So in the meantime we start generating media on the B leg with our own timestamp. <br>




</div><div><br></div><div>Then media starts arriving on the A leg so we relay it and we start using that timestamp instead of our own. </div><div><br></div><div><div>FS sets the marker bit when this happens but I&#39;m not sure this makes it OK to turn back the timestamp. I think we should actually be using a new SSRC. </div>




</div><div><br></div><div>Any thoughts? (happy to raise a Jira ticket and verify in master).</div><div><br></div><div>Richard</div><div><br clear="all"><div><div>--</div><div>Richard Brady</div><div>M: <a href="tel:%2B44%20%280%297771%20623%20348" value="+447771623348" target="_blank">+44 (0)7771 623 348</a></div>




<div>T:  <a href="tel:%2B44%20%280%2920%208144%208160" value="+442081448160" target="_blank">+44 (0)20 8144 8160</a></div><div>E: <a href="mailto:rnbrady@gmail.com" target="_blank">rnbrady@gmail.com</a></div></div>
</div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div></div></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>