Re: Format of RTSP URLs

Rob Lanphier <robla@prognet.com> Tue, 15 July 1997 17:14 UTC

Received: from cnri by ietf.org id aa13244; 15 Jul 97 13:14 EDT
Received: from services.bunyip.com (services.Bunyip.Com [192.77.55.2]) by cnri.reston.va.us (8.8.5/8.7.3) with ESMTPid NAA04895; Tue, 15 Jul 1997 13:12:46 -0400 (EDT)
Received: (from daemon@localhost) by services.bunyip.com (8.8.5/8.8.5) id MAA06535 for uri-out; Tue, 15 Jul 1997 12:52:35 -0400 (EDT)
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.8.5/8.8.5) with ESMTP id MAA06528 for <uri@services.bunyip.com>; Tue, 15 Jul 1997 12:52:31 -0400 (EDT)
Received: (from daemon@localhost) by mocha.bunyip.com (8.8.5/8.8.5) id MAA24960 for uri@services; Tue, 15 Jul 1997 12:52:30 -0400 (EDT)
Received: from murrow.prognet.com (prognet.com [205.219.198.1]) by mocha.bunyip.com (8.8.5/8.8.5) with SMTP id MAA24957 for <uri@bunyip.com>; Tue, 15 Jul 1997 12:52:26 -0400 (EDT)
Received: from robla.dev.prognet.com (two221.dev.prognet.com) by murrow.prognet.com with SMTP id AA14125 (5.67b/IDA-1.5 for <uri@bunyip.com>); Tue, 15 Jul 1997 09:57:09 -0700
Message-Id: <3.0.32.19970715095024.01322938@mail.prognet.com>
X-Sender: robla@mail.prognet.com
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Tue, 15 Jul 1997 09:50:28 -0700
To: Bill Simpson-Young <bill.simpson-young@cmis.csiro.au>
From: Rob Lanphier <robla@prognet.com>
Subject: Re: Format of RTSP URLs
Cc: www-talk@w3.org, uri@bunyip.com, confctrl@isi.edu
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: owner-uri@bunyip.com
Precedence: bulk

At 01:44 PM 7/15/97 +1000, Bill Simpson-Young wrote:
>robla wrote:
>> ...
>> The URL scheme, taken from Roy Fielding's draft on the subject
>> (draft-fielding-url-syntax-05.txt) is something we'll have to consider very
>> seriously in all of this.  The URL syntax there is:
>> <scheme>://<site>/<path>?<query>#<fragmentid>
>> 
>> The problem with that scheme is that "fragmentid" is really "client-side
>> fragment id".  What we really need is a server side fragment id as well.
>> 
>> <scheme>://<site>/<path>?<query>:<ssfrag>#<fragmentid>
>
>In RFC 1808, the URL syntax is 
>
><scheme>://<net_loc>/<path>;<params>?<query>#<fragment>
>
>where "params   ::= object parameters (e.g., ";type=a" as in
>                       Section 3.2.2 of RFC 1738 [2])."
>
>Why not use params which is intended for this purpose?  I know the 
>"params" isn't used in the HTTP scheme but the disadvantages of using ? 
>and # are great enough that it's better to use params than stay close to 
>the HTTP scheme.

I think this may be acceptable, but there's one other possible requirement
I'd like to mention.  It would be nice to have the ability to have relative
URLs, so that, for example, the following scenario can play out (using ":"
as a server side fragment identifier for the time being)

C->S  DESCRIBE rtsp://foo/db/moviebase?movie=twister RTSP/1.0 1

S->C  RTSP/1.0 200 1 OK
      Content-length: 178
      Content-type: application/sdp

      s= sample rtsp presentation
      r = rtsp://foo/db/moviebase?movie=twister   /* aggregate URL*/
      m= audio 0 RTP/AVP 0
      r = :track=audio1                           /* URL to control audio*/
      m=video 0 RTP?AVP 26
      r = :track=video1                           /* URL to control video*/

At this point, the client can easily discern that the audio track and the
video track are indeed merely fragments of the same object on the server,
and not separately controlled entities.  I'm not sure how this would work
with ";" parameters, since the relative behavior defined in 1808 is
different than what I'd expect above (which is more akin to "#").

One way to route around this is to always use absolute URLs, but I think
that would be slightly more prone to error.


---
Rob Lanphier               Voice: (206)674-2322         Fax: (206)674-2699
Program Manager-Protocols                         Email: robla@prognet.com
Progressive Networks-Home of RealAudio            Web: http://www.real.com
For more information on firewalls:       http://www.real.com/firewall.html
For more information on RTSP:               http://www.real.com/prognet/rt