<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/9780">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rtp: use 3GPP assigned payload type numbers<br><br>The payload types for AMR, EFR, and GSM-HR are dynamic payload types. In<br>theory those can have any number from the IANA reserved dynamic payload type<br>rante. However 3GPP TS 48.103 assignes AMR, EFR and GSM-HR a fixed payload type<br>number from the dynamic payload type range. Lets make sure our payload types<br>use the 3GPP payload type numbers instead of arbitrary choosen ones.<br><br>- change payload type define constants to match 3GPP TS 48.103<br><br>Change-Id: Ife9ea525a615685c4b2369e491db46452b63c6cb<br>Related: OS#2728<br>---<br>M include/osmocom/netif/rtp.h<br>1 file changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-netif refs/changes/80/9780/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/netif/rtp.h b/include/osmocom/netif/rtp.h</span><br><span>index c01df41..8029803 100644</span><br><span>--- a/include/osmocom/netif/rtp.h</span><br><span>+++ b/include/osmocom/netif/rtp.h</span><br><span>@@ -77,12 +77,12 @@</span><br><span> #define RTP_PT_GSM_FULL_PAYLOAD_LEN       33</span><br><span> #define RTP_PT_GSM_FULL_DURATION  160     /* in samples. */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define RTP_PT_GSM_HALF                    96</span><br><span style="color: hsl(120, 100%, 40%);">+#define RTP_PT_GSM_HALF                     111     /* see also: 3GPP TS 48.103 chapter 5.4.2.2 RTP Payload */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define RTP_PT_GSM_EFR                    97</span><br><span style="color: hsl(120, 100%, 40%);">+#define RTP_PT_GSM_EFR                      110     /* see also: 3GPP TS 48.103 chapter 5.4.2.2 RTP Payload */</span><br><span> #define RTP_PT_GSM_EFR_PAYLOAD_LEN        31</span><br><span> #define RTP_PT_GSM_EFR_DURATION           160     /* in samples. */</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-#define RTP_PT_AMR                 98</span><br><span style="color: hsl(120, 100%, 40%);">+#define RTP_PT_AMR                  112     /* see also: 3GPP TS 48.103 chapter 5.4.2.2 RTP Payload */</span><br><span> </span><br><span> #endif</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/9780">change 9780</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/9780"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-netif </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ife9ea525a615685c4b2369e491db46452b63c6cb </div>
<div style="display:none"> Gerrit-Change-Number: 9780 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>