W3C home > Mailing lists > Public > public-media-fragment@w3.org > June 2010

Re: WWW/2008/WebVideo/Fragments/WD-media-fragments-spec overview.xml,1.92,1.93

From: Silvia Pfeiffer <silviapfeiffer1@gmail.com>
Date: Wed, 16 Jun 2010 08:12:40 +1000
Message-ID: <AANLkTimYw9OVe6LCQryngLaihLq9qbrpQsEYqmIjVZls@mail.gmail.com>
To: Media Fragment <public-media-fragment@w3.org>
Hi Yves,

I'm just looking through all the commits that were made yesterday. I
think we have just dropped a particular application through this
commit below, in particular this change:


> -Content-Range-Mapping      = "Content-Range-Mapping" ":" ( content-range-mapping-spec
> -                             [ ";" "include-setup"] ) | "include-setup"
> +Content-Range-Mapping      = "Content-Range-Mapping" ":" '{' content-range-mapping-spec
> +                             [ ";" "include-setup"] '}' '=' '{'
> +                             byte-content-range-mapping-spec '}'


It needs to be possible to only reply with the setup information in a
CRM header, because e.g. if you ask for a range that doesn't exist and
you have an include-setup in the range, then the server has to reply
with the setup alone. Therefore, we need to be able to return e.g.:

Content-Range-Mapping : include-setup = bytes 0-45678

This was why I had the CRM defined as it was before - I don't think
that's possible any more. I think we need to change the production
rule to:

Content-Range-Mapping      = "Content-Range-Mapping" ":" '{'
content-range-mapping-spec [ ";" "include-setup"] | "include-setup"
'}' '=' '{' byte-content-range-mapping-spec '}'


Cheers,
Silvia.


On Wed, Jun 16, 2010 at 12:35 AM, Yves Lafon via cvs-syncmail
<cvsmail@w3.org> wrote:
> Update of /w3ccvs/WWW/2008/WebVideo/Fragments/WD-media-fragments-spec
> In directory hutz:/tmp/cvs-serv21922
>
> Modified Files:
>        overview.xml
> Log Message:
> added byte range equivalence, matching
> RESOLUTION: new syntax for the Content-Range-Mapping header, "Content-Range-Mapping: {t:npt 10-20/0-38;include-setup}={bytes 0-2000,4000-1000/2000}"
>
>
> Index: overview.xml
> ===================================================================
> RCS file: /w3ccvs/WWW/2008/WebVideo/Fragments/WD-media-fragments-spec/overview.xml,v
> retrieving revision 1.92
> retrieving revision 1.93
> diff -u -d -r1.92 -r1.93
> --- overview.xml        15 Jun 2010 14:25:17 -0000      1.92
> +++ overview.xml        15 Jun 2010 14:35:38 -0000      1.93
> @@ -2359,8 +2359,14 @@
>  ;
>  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; HTTP Response Headers ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
>  ;
> -Content-Range-Mapping      = "Content-Range-Mapping" ":" ( content-range-mapping-spec
> -                             [ ";" "include-setup"] ) | "include-setup"
> +Content-Range-Mapping      = "Content-Range-Mapping" ":" '{' content-range-mapping-spec
> +                             [ ";" "include-setup"] '}' '=' '{'
> +                             byte-content-range-mapping-spec '}'
> +
> +byte-range-mapping-spec    = bytes-unit SP
> +                             byte-range-resp-spec *( "," byte-range-resp-spec ) "/"
> +                             ( instance-length / "*" )
> +
>  content-range-mapping-spec = time-mapping-spec | track-mapping-spec | name-mapping-spec
>  time-mapping-spec          = timeprefix ":" time-mapping-options
>  time-mapping-options       = npt-mapping-option / smpte-mapping-option / clock-mapping-option
>
>
>
Received on Tuesday, 15 June 2010 22:13:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 21 September 2011 12:13:39 GMT