<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 22/04/2022 10.46, [EXT] Henning
Westerholt wrote:<br>
</div>
<blockquote type="cite"
cite="mid:PAXPR05MB8558DDF48B99291B35574A46BFF79@PAXPR05MB8558.eurprd05.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:Roboto;}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}span.E-MailFormatvorlage18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-GB">I did not look in the RFC regarding the
removing the video line in questions. You are probably
referring to the sdp_remove_media() function.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"
lang="EN-GB">Do you expect problems when you are doing this?
A quick web search found a similar suggestion also e.g. for
Cisco router and others.</span></p>
</div>
</blockquote>
<p>The problem with simply removing a media section is that the
answer going back to the A-side will have mismatched media
sections, which is invalid according to the RFC.<br>
</p>
<p>You can remove the video media section in the offer going from A
to B, but in the answer from B to A the media section should be
restored with the port set to zero, indicating a rejected media
section. Since the answer from B won't contain a section for the
video, a new `m=` must be inserted in the SDP going back to A,
matching the `m=` originally presented by A.<br>
</p>
<p>Cheers<br>
</p>
</body>
</html>