Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 62684 invoked from network); 24 Jun 2010 21:16:10 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Jun 2010 21:16:10 -0000 Received: (qmail 85736 invoked by uid 500); 24 Jun 2010 21:16:09 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 85645 invoked by uid 500); 24 Jun 2010 21:16:08 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 85637 invoked by uid 99); 24 Jun 2010 21:16:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 21:16:08 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=AWL,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of misterpib@gmail.com designates 74.125.83.52 as permitted sender) Received: from [74.125.83.52] (HELO mail-gw0-f52.google.com) (74.125.83.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Jun 2010 21:16:03 +0000 Received: by gwb17 with SMTP id 17so2963020gwb.11 for ; Thu, 24 Jun 2010 14:15:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=GLTsLubnEeHgTLmsuhWyIzF9I0oTAgNlEt5U9bdFNcw=; b=d8JfapHEg5Dcr5DRBaw2y6cCoS+LOoFSzUKrxfCCcnWRSgzvBi6bMPQQ/P3AxtHiKX rn+t39xS3TKpQ8ZDRZMpq/3mXQz3B9ELuzB+Wl7yamoHcpkWepb0ilKmqNfzf88kelHU hqYuQcwWECy14E/vGjTbXsVc5JbDQi/0z6b4k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=liTyoI+HrzbTSaxTpdHAouXjGZGPJcxwJ9Vl+rXTF/qO+BZDRYqPRgMbg55GW5Lh5C WHkL5dirNjkS984V+Gi0mwy4e6mTXrKpZ5H96OE/zvWliJQHPjvr/gQSkcD1GmUmmqOW m22ZWS0JKcNU9GIazN8MnMCvka3hjZp3jED3c= Received: by 10.229.182.5 with SMTP id ca5mr5643902qcb.98.1277414142534; Thu, 24 Jun 2010 14:15:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.229.129 with HTTP; Thu, 24 Jun 2010 14:15:22 -0700 (PDT) In-Reply-To: <0CD85230-DFDA-4F6F-AF2C-64D7D662CB1F@apache.org> References: <0CD85230-DFDA-4F6F-AF2C-64D7D662CB1F@apache.org> From: Paul Bonser Date: Thu, 24 Jun 2010 16:15:22 -0500 Message-ID: Subject: Re: html5 seeking on a couch mp3/ogg attachment To: user@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Tue, Jun 22, 2010 at 4:28 AM, Adam Kocoloski wrote= : > Hi Ryan, Range headers are not currently supported, but they will be. =A0= I'm not sure about an ETA, though. Best, Is anyone in particular working on a Range headers patch, or is it just on the roadmap? I'd love to take a swing at it if nobody else is already working on it. > > Adam > > On Jun 21, 2010, at 11:02 PM, Ryan Ramage wrote: > >> Hi all. It would be fantastic if a couchapp could support html5 media >> tags where the src is a mp3/ogg as a couch attachment. But I >> am seeming to have an issue. When a seek is done in the >> browser(skipping to a spot in the ogg), couch db cant support it. >> Browsers seem to issue a Range header. CouchDB (or the erlang http >> server?) is not currently doing anything with this. >> So the html5 tag support is not working so hot. I have compared the >> same audio file from a working server, and a couchdb server. >> See below for the results. >> >> It seems couch needs to deal with the Range request header and the >> Accept-Ranges, and Content-Range response headers. >> >> Is anyone else able to make a seekable media file from a couch db >> attachment? Any help would be great. >> >> Here is the header reference: >> >> CouchDB >> ------------ >> Request Headers >> Host: localhost:5984 >> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; >> rv:1.9.1.9) Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729) >> Accept: text/html,application/xhtml+xml,application/xml;q=3D0.9,*/*;q=3D= 0.8 >> Accept-Language: en-us,en;q=3D0.5 >> Accept-Encoding: gzip,deflate >> Accept-Charset: ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7 >> Keep-Alive: 300 >> Connection: keep-alive >> Range: bytes=3D0- >> If-None-Match: "55-38b290cca196c08a180c34c1970d262a" >> Cache-Control: max-age=3D0 >> >> Response Headers >> Transfer-Encoding: chunked >> Server: CouchDB/0.11.0 (Erlang OTP/R13B) >> Etag: "57-32aa971d2262ce3bac0af71b8dfda4dc" >> Date: Tue, 22 Jun 2010 02:38:32 GMT >> Content-Type: video/ogg >> Cache-Control: must-revalidate >> >> >> Other Server >> -------------- >> Request Headers >> Host =A0www.miaowmusic.com >> User-Agent =A0 =A0Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9= .1.9) >> Gecko/20100315 Firefox/3.5.9 ( .NET CLR 3.5.30729) >> Accept =A0 =A0 =A0 =A0text/html,application/xhtml+xml,application/xml;q= =3D0.9,*/*;q=3D0.8 >> Accept-Language =A0 =A0 =A0 en-us,en;q=3D0.5 >> Accept-Encoding =A0 =A0 =A0 gzip,deflate >> Accept-Charset =A0 =A0 =A0 =A0ISO-8859-1,utf-8;q=3D0.7,*;q=3D0.7 >> Keep-Alive =A0 =A0300 >> Connection =A0 =A0keep-alive >> Range bytes=3D0- >> Cookie =A0 =A0 =A0 =A0__utma=3D192278326.2136153585.1277170435.127717043= 5.1277170435.1; >> __utmb=3D192278326.1.10.1277170435; __utmc=3D192278326; >> __utmz=3D192278326.1277170435.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%= 7Cutmcmd%3D(none) >> If-Modified-Since =A0 =A0 Tue, 30 Jun 2009 18:46:49 GMT >> If-None-Match "2976699-2952c0-46d953aafd840" >> Cache-Control max-age=3D0 >> >> Response Headers >> Date =A0Tue, 22 Jun 2010 01:36:40 GMT >> Server =A0 =A0 =A0 =A0Apache/2.2 >> Last-Modified Tue, 30 Jun 2009 18:46:49 GMT >> Etag =A0"2976699-2952c0-46d953aafd840" >> Accept-Ranges bytes >> Content-Length =A0 =A0 =A0 =A04800 >> Content-Range bytes 2703360-2708159/2708160 >> Keep-Alive =A0 =A0timeout=3D15, max=3D99 >> Connection =A0 =A0Keep-Alive >> Content-Type =A0application/ogg > > --=20 Paul Bonser http://probablyprogramming.com