W3C home > Mailing lists > Public > public-sysapps@w3.org > April 2014

RE: publish LCWD of "The app: URL Scheme"; deadline April 6

From: Igarashi, Tatsuya <Tatsuya.Igarashi@jp.sony.com>
Date: Tue, 15 Apr 2014 08:56:43 +0000
To: Marcos Caceres <w3c@marcosc.com>, Wonsuk Lee <wonsuk11.lee@samsung.com>
CC: "public-sysapps@w3.org" <public-sysapps@w3.org>
Message-ID: <5943E58877A60A46898393C0DA7C0BF804645E@JPYOKXMS125.jp.sony.com>
Thank you, Marcos.

The issue is not a big deal. I just suggested to add the following two notes to clarify that the app: URL scheme works for local media playback.

	Note that app: URL can be used for media elements and if seekable seeking works for video and audio resources.
	Note that XHR with the HTTP range header can be used for app URL in such case of playing video/audio resources with Media Source Extensions[MSE].

For example, the following should work fine with app: URL scheme. Do other people share this idea ?

(Sample1)
var audio = document.createElement("audio");
audio.src = "sample.mp3";
audio.addEventListener('loadedmetadata', function() {
	audio.currentTime = 15;	// start at the 15 second
	audio.play();
	console.log(audio.currentTime === 15 );	// true
});
document.body.appendChild(audio);

(Sample2)
var url = "sample.mp3";
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = "arraybuffer";
xhr.setRequestHeader('Range', 'bytes=100-199');
xhr.send();
console.log(Uint8Array(xhr.response).byteLength === 100);	// true

-***---***---***---***---***---***---***---***---***--***---***---***-
Tatsuya Igarashi (Tatsuya.Igarashi@jp.sony.com) 
Innovative Technology Development Div, System R&D Group
Sony Corporation





-----Original Message-----
From: Marcos Caceres [mailto:w3c@marcosc.com] 
Sent: Tuesday, April 15, 2014 5:20 AM
To: Igarashi, Tatsuya; Wonsuk Lee
Cc: public-sysapps@w3.org
Subject: RE: publish LCWD of "The app: URL Scheme"; deadline April 6

Hi Tatsuya, 
Moving this to the public list... 

On April 8, 2014 at 2:59:25 AM, Igarashi, Tatsuya (tatsuya.igarashi@jp.sony.com) wrote:
> Hi Wonsuk and Marcos,
>  
> Though I am not available in the F2F, I hope that my comment will be discussed there.

Unfortunately, we didn't get to discuss it during the f2f. However, I've filed a bug for this:

https://github.com/sysapps/app-uri/issues/38


I agree with you suggestion that we should support streaming media playback (though I be warned that I tend to have an allergic reaction to anything EME;)).  

Can we discuss how we fix the spec to support this there? Your help would be greatly appreciated. 

I would propose we block progressing to LC until we fix this in the spec. Should not be too much work (famous last words, I know). 







Received on Tuesday, 15 April 2014 08:57:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:20 UTC