<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ks_c_5601-1987">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:"Malgun Gothic";
panose-1:2 11 5 3 2 0 0 2 0 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@Malgun Gothic";}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
h3
{mso-style-priority:9;
mso-style-link:"Heading 3 Char";
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:13.5pt;
font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New",serif;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.Heading3Char
{mso-style-name:"Heading 3 Char";
mso-style-priority:9;
mso-style-link:"Heading 3";
font-family:"Times New Roman",serif;
font-weight:bold;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New",serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi All, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would like to know how to request <span style="color:#1F497D">
a</span> openRTSP command with "Require" parameter as OPTIONS.<o:p></o:p></p>
<p class="MsoNormal">Could you give me some advice? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I found the below article from RFC2326, but I have no idea how to apply this kind of option to openRTSP command.<o:p></o:p></p>
<p class="MsoNormal">----------------------------------------------------------<o:p></o:p></p>
<h3><a name="section-12.32"></a><a href="https://tools.ietf.org/html/rfc2326#section-12.32"><span style="mso-bookmark:"section-12\.32""><span style="color:black">12.32</span></span><span style="mso-bookmark:"section-12\.32""></span></a><span style="mso-bookmark:"section-12\.32""></span><span style="font-size:10.0pt;font-family:"Courier New",serif;color:black">
Require<o:p></o:p></span></h3>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> The Require header is used by clients to query the server about<o:p></o:p></span></pre>
<pre><span style="color:black"> options that it may or may not support. The server MUST respond to<o:p></o:p></span></pre>
<pre><span style="color:black"> this header by using the Unsupported header to negatively acknowledge<o:p></o:p></span></pre>
<pre><span style="color:black"> those options which are NOT supported.<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> This is to make sure that the client-server interaction will<o:p></o:p></span></pre>
<pre><span style="color:black"> proceed without delay when all options are understood by both<o:p></o:p></span></pre>
<pre><span style="color:black"> sides, and only slow down if options are not understood (as in the<o:p></o:p></span></pre>
<pre><span style="color:black"> case above). For a well-matched client-server pair, the interaction<o:p></o:p></span></pre>
<pre><span style="color:black"> proceeds quickly, saving a round-trip often required by negotiation<o:p></o:p></span></pre>
<pre><span style="color:black"> mechanisms. In addition, it also removes state ambiguity when the<o:p></o:p></span></pre>
<pre><span style="color:black"> client requires features that the server does not understand.<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> Require = "Require" ":" 1#option-tag<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> Example:<o:p></o:p></span></pre>
<pre><span style="color:black"> C->S: SETUP rtsp://server.com/foo/bar/baz.rm RTSP/1.0<o:p></o:p></span></pre>
<pre><span style="color:black"> CSeq: 302<o:p></o:p></span></pre>
<pre><span style="color:black"> Require: funky-feature<o:p></o:p></span></pre>
<pre><span style="color:black"> Funky-Parameter: funkystuff<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> S->C: RTSP/1.0 551 Option not supported<o:p></o:p></span></pre>
<pre><span style="color:black"> CSeq: 302<o:p></o:p></span></pre>
<pre><span style="color:black"> Unsupported: funky-feature<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> C->S: SETUP rtsp://server.com/foo/bar/baz.rm RTSP/1.0<o:p></o:p></span></pre>
<pre><span style="color:black"> CSeq: 303<o:p></o:p></span></pre>
<pre><span style="color:black"><o:p> </o:p></span></pre>
<pre><span style="color:black"> S->C: RTSP/1.0 200 OK<o:p></o:p></span></pre>
<pre><span style="color:black"> CSeq: 303<o:p></o:p></span></pre>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--------------------------------------------------------------------<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you.<o:p></o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">SungHwan<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-autospace:none"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB">SungHwan Kim </span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial",sans-serif;color:black;mso-fareast-language:EN-GB"> |
Technical Support Engineer | <b>Hanwha Techwin Europe</b><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>