<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> <code class="URI">rtsp</code> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URI</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">scheme</anchor>
は、 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RTSP</anchor> を介して得る資源を識別します。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> RTSP を実装している処理系は必然的にこの URI
scheme にも対応することとなります。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> RFC 2326 ではあわせて
<code class="URI"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">rtspu</anchor></code> という scheme も規定しています。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="556" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[556]</anchor-end> <code class="URI">rtspu</code> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URI</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">scheme</anchor>
は、 <code class="URI"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">rtsp</anchor></code> scheme
の <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">UDP</anchor> 版です。</p><p><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RTSP</anchor> では <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">TCP</anchor> も <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">UDP</anchor>
も使用可能です。 TCP の時には <code class="URI">rtsp</code>
を、 UDP の時には <code class="URI">rtspu</code> を使います。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="557" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[557]</anchor-end> RTSP を規定する <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 2326</anchor> で定義されています。</p><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="558" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[558]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">IANAREG</anchor> にも登録されています。</p><section><h1>既定のポート</h1><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">既定のポート番号</anchor>は、 <code><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">554</anchor></code> です。</p></section><section><h1>歴史</h1><figure class="quote"><figcaption><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="555" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[555]</anchor-end> RFC 2326 3.2 RTSP URL</p></figcaption><blockquote><p>The &quot;rtsp&quot; and &quot;rtspu&quot; schemes are used to refer to network resources
via the RTSP protocol. This section defines the scheme-specific
syntax and semantics for RTSP URLs.</p></blockquote><p><code class="URI">rtsp</code>, <code class="URI">rtspu</code> 両 scheme
は、 RTSP プロトコルを介してネットワーク資源を参照するのに使います。
この節では RTSP <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">URL</anchor> の scheme 規定構文・意味を定義します。</p><pre>   rtsp_URL  =   ( &quot;rtsp:&quot; | &quot;rtspu:&quot; )
                 &quot;//&quot; host [ &quot;:&quot; port ] [ abs_path ]
   host      =   &lt;A legal Internet host domain name of IP address
                 (in dotted decimal form), as defined by Section 2.1
                 of RFC 1123 \cite{rfc1123}&gt; <ins>;; ママ</ins>
   port      =   *DIGIT</pre><blockquote><p>abs_path is defined in [H3.2.1].</p></blockquote><p><code class="ABNF"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">abs_path</anchor></code> は <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC2068</anchor> 3.2.1 で規定されています。</p><blockquote><p>Note that fragment and query identifiers do not have a well-defined
meaning at this time, with the interpretation left to the RTSP
server.</p></blockquote><p><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">素片識別子</anchor>及び<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">問合せ識別子</anchor>は現時点ではよく定義された意味を持っておらず、
RTSP サーバーの解釈に委ねられることに注意して下さい。</p><blockquote><p>The scheme rtsp requires that commands are issued via a reliable
protocol (within the Internet, TCP), while the scheme rtspu identifies
an unreliable protocol (within the Internet, UDP).</p></blockquote><p>Scheme <code class="URI">rtsp</code> は、命令が信頼できるプロトコル
(インターネットでは <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">TCP</anchor>) を経て発行されることを必要とし、
他方 scheme <code class="URI">rtsp</code> は信頼できないプロトコル
(インターネットでは <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">UDP</anchor>) を識別します。</p><blockquote><p>If the port is empty or not given, port 554 is assumed. The semantics
are that the identified resource can be controlled by RTSP at the
server listening for TCP (scheme &quot;rtsp&quot;) connections or UDP (scheme
&quot;rtspu&quot;) packets on that port of host, and the Request-URI for the
resource is rtsp_URL.</p></blockquote><p><code class="URI"><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">port</anchor></code> が空であるか、又は与えられていない時は、
port <code><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">554</anchor></code> を仮定します。
意味は、識別される資源が、そのホストのその TCP 
(scheme <code class="URI">rtsp</code>) 接続又は UDP (scheme <code class="URI">rtspu</code>) 
小包みを聴取しているサーバーが統制され得、その資源の
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">Request-URI</anchor> が <code class="ABNF">rtsp_URL</code> であることです。</p><blockquote><p>The use of IP addresses in URLs SHOULD be avoided whenever possible
(see RFC 1924 [19]).</p></blockquote><p>URL 中での IP アドレスの使用は、可能であれば避ける<strong>べきです</strong>。</p><blockquote><p>A presentation or a stream is identified by a textual media
identifier, using the character set and escape conventions [H3.2] of
URLs (RFC 1738 [20]). URLs may refer to a stream or an aggregate of
streams, i.e., a presentation. Accordingly, requests described in
Section 10 can apply to either the whole presentation or an individual
stream within the presentation. Note that some request methods can
only be applied to streams, not presentations and vice versa.</p></blockquote><p>表現又は流れは、 URL の文字集合とエスケープの表記法を使った文媒体識別子で識別されます。
URL は流れ又は流れの集積, すなわち表現を参照することが出来ます。
従って、10章に記述された要求は表現全体をも表現中の流れの個々にも適用できます。
幾つかの要求 method は流れに対してのみ適用できて、
表現には適用できなかったり、あるいはその逆もあることに注意して下さい。</p><blockquote><p>For example, the RTSP URL:<ul><li>rtsp://media.example.com:554/twister/audiotrack</li></ul></p></blockquote><blockquote><p>identifies the audio stream within the presentation &quot;twister&quot;, which
can be controlled via RTSP requests issued over a TCP connection to
port 554 of host media.example.com.</p></blockquote><p>例えば、 RTSP URL 〜 は、ホスト <samp>media.example.com</samp>
の port <samp>554</samp> への TCP 接続で発行される RTSP
要求で制御できる表現 <samp>twister</samp>
中の音楽流れを識別します。</p><blockquote><p>Also, the RTSP URL:<ul><li>rtsp://media.example.com:554/twister</li></ul></p></blockquote><blockquote><p>identifies the presentation &quot;twister&quot;, which may be composed of
audio and video streams.</p></blockquote><p>また、 RTSP URL 〜 は、音楽及び動画から構成されているかもしれない表現
<samp>twister</samp> を識別します。</p><blockquote><p>This does not imply a standard way to reference streams in URLs.
The presentation description defines the hierarchical relationships
in the presentation and the URLs for the individual streams. A
presentation description may name a stream &quot;a.mov&quot; and the whole
presentation &quot;b.mov&quot;.</p></blockquote><p>これは URL による流れの参照の標準的方法を決める物ではありません。
表現記述が表現と個々の流れの URL との階層的関係を定義します。
表現記述は流れを <samp>a.mov</samp> と名づけ、
表現全体を <samp>b.mov</samp> と名づけるかもしれません。</p><blockquote><p>The path components of the RTSP URL are opaque to the client and do
not imply any particular file system structure for the server.</p></blockquote><p>RTSP URL の<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">経路</anchor>部品はクライアントには不透明であって、
サーバー側の特定のファイル・システム構造を示す物ではありません。</p><blockquote><p>This decoupling also allows presentation descriptions to be used
with non-RTSP media control protocols simply by replacing the
scheme in the URL.</p></blockquote><p>この decoupling によって、
表現記述を単に URL 中の scheme を置換するだけで非 RTSP
媒体制御プロトコルで使用することを可能にします。</p></figure></section></body></html>