<p>Alexander Traud has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.asterisk.org/8251">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">rtp_engine: Load format name / mime type in uppercase again.<br><br>This reverts a previous change partly.<br><br>ASTERISK-27689<br><br>Change-Id: Ia3d2f282db6995be8c1c253b5d52f6038761e8af<br>---<br>M main/rtp_engine.c<br>1 file changed, 5 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/8251/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/main/rtp_engine.c b/main/rtp_engine.c<br>index 6bedd17..9292cda 100644<br>--- a/main/rtp_engine.c<br>+++ b/main/rtp_engine.c<br>@@ -2345,10 +2345,14 @@<br> <br> int ast_rtp_engine_load_format(struct ast_format *format)<br> {<br>+ char *codec_name = ast_strdupa(ast_format_get_codec_name(format));<br>+<br>+ codec_name = ast_str_to_upper(codec_name);<br>+<br> set_next_mime_type(format,<br> 0,<br> ast_codec_media_type2str(ast_format_get_type(format)),<br>- ast_format_get_codec_name(format),<br>+ codec_name,<br> ast_format_get_sample_rate(format));<br> add_static_payload(-1, format, 0);<br> <br></pre><p>To view, visit <a href="https://gerrit.asterisk.org/8251">change 8251</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.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.asterisk.org/8251"/><meta itemprop="name" content="View Change"/></div></div>
<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 13 </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ia3d2f282db6995be8c1c253b5d52f6038761e8af </div>
<div style="display:none"> Gerrit-Change-Number: 8251 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Alexander Traud <pabstraud@compuserve.com> </div>