DescriptionSupport for providing media stream audio track to speech recognition - Blink implementation.
[ WebKit CL ]
Renderer CL : http://crrev.com/499233003
Browser CL : http://crrev.com/549373003
Introduces |webkitSpeechRecognition.audioTrack| attribute. Set to null by default.
When the attribute is set to null, SR is done by default implementation
(getting audio from the audio input device on the browser).
When the attribute is set to a MediaStreamTrack it should get audio data
from that track after |start()|. The track is utilized once |start()| is called.
For unsupported tracks (e.g. from a file rather than a microphone)
the chromium implementation should bubble up the error once |start()| is called.
Changing of the attribute after |start()| is called should have no effect
on the running session. This is the same behavioral pattern as for the other attributes.
Design doc: http://goo.gl/9Ot3PC
Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/G2lRTzZXmW4
BUG=408940
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182851
Patch Set 1 : early attempt - setAudioTrack method #Patch Set 2 : #Patch Set 3 : @audioTrack, setAudioTrack, clearAudioTrack #
Total comments: 12
Patch Set 4 : Rename methods and remove clearAudioTrack from inner layers #
Total comments: 2
Patch Set 5 : Rebased on master #Patch Set 6 : Remove attach/detach - using overloaded start #
Total comments: 10
Patch Set 7 : Wrap WebMediaStreamTrack into WebSpeechRecognitionParams #
Total comments: 6
Patch Set 8 : Add RuntimeEnabled flag. #
Total comments: 1
Patch Set 9 : Include WebMediaStreamTrack to enable build. #Patch Set 10 : Add experimental WebRTCSpeech RuntimeEnabled flag #Patch Set 11 : s/WebRTC/MediaStream/ #Messages
Total messages: 38 (5 generated)
|