The microphone component allows the developer to capture sound using a device's audio input/microphone, and then upload the audio file to the server to be processed or shared with other users or facets of an application. For a desktop browser, a file upload button will allow the user to select an audio file on their local file system which can then be uploaded and shared in a similar manner. Must denote form as multipart if using a desktop browser, or use the uploadhelper component as seen in example markup below.
An embedded container supported by ICEfaces mobility, must be present in order to use this component for capturing actual video. The desktop browser will allow users to select files to be uploaded for use in the application.
Typically, you will want to use the container upload button.
The Map object is value bound to a backing bean and the File and contentType can be extracted from the Map in the backing bean.
Can use attribute maxtime to limit the duration of the audio clip
Any validation that is required on this component can be done via the valueChangeListener as follows:-
© Copyright 2016 ICEsoft Technologies Canada Corp.