[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AVT] draft-ietf-avt-rtp-vorbis: configuration-uri



On 13 Jun 2007, at 01:42, Luca Barbato wrote:
Peter Saint-Andre wrote:
In draft-ietf-avt-rtp-vorbis-05 we find:

configuration-uri: the URI of the configuration headers in case
of out of band transmission. In the form of
"protocol://path/to/resource/".


This assumes that URIs have a certain structure and that there is a
resource with a certain media type available at the URI. While that is
true of many URI schemes (e.g., http: and rtsp:), it is not true of
other URI schemes (e.g., mailto: and xmpp:). Unless you have a good
reason for thinking that a configuration-uri must be of the form you
specify, I think it would be best to generalize the format so that any
URI that conforms to RFC 3986 can be used.

The rationale for picking this restricted form is just simplicity, I can
relax the spec so it is RECOMMENDED to structure the configuration-uri
this way.



As an example, we might define a way to retrieve configuration headers
via XMPP, for which the URI might be something like this:


xmpp:user at example.com?config;header=resource

I see a problem


Do you mean that if the URI ends with a trailing slash, then the method
in use is "simple configuration packet" but if the URI does not end in a
trailing slash then the method in use is "multiple packets aggregated in
a single stream"?

Yes.

Again, this seems limited to a specific URI structure,
since in the XMPP example above we might do something like the following
for multiple aggregated packets:


xmpp:user at example.com? config;header=resource;aggregate=aggregated.bz2;hash=sha1hash

";" has a particular use in sdp, this string cannot be delivered in sdp.


What about mapping the former to

xmpp://user at example.com/aggregated.bz2!sha1hash

and let the application convert it to the format xmpp expect?

We should probably mandate a standard encoding scheme for all types of URI, rather than something specific to XMPP. Does the usual URL encoding (with % codes) work?


--
Colin Perkins
http://csperkins.org/



_______________________________________________
Audio/Video Transport Working Group
avt at ietf.org
https://www1.ietf.org/mailman/listinfo/avt