- From: Olli Pettay <Olli.Pettay@helsinki.fi>
- Date: Wed, 20 Jul 2011 20:49:07 +0300
- To: "public-xg-htmlspeech@w3.org" <public-xg-htmlspeech@w3.org>
Hi all
to hook up the generic capturing API to speech API we should
reuse Stream API. So the addition to the Speech API would be simple:
interface SpeechInputRequest
{
...
attribute MediaStream input;
};
Endpointing should, IMO, be handle by the Speech API, so that we can
use the generic media streams.
If input is not set, Speech API should use whatever capturing mechanism
the UA provides and .input attribute would be null in that case.
Scripts can get the Stream using for example the API proposed in
http://www.whatwg.org/specs/web-apps/current-work/#video-conferencing-and-peer-to-peer-communication
.input would work also well with
http://hg.mozilla.org/users/rocallahan_mozilla.com/specs/raw-file/tip/StreamProcessing/StreamProcessing.html
If we want to support <reco>, the non-default input stream should
be set using scripts.
-Olli
Received on Wednesday, 20 July 2011 17:49:44 UTC