Details
-
Type: New Feature
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Beta
-
Fix Version/s: 1.1 Beta
-
Component/s: None
-
Labels:None
-
Environment:ICEmobile
Description
Media capture examples in mobile showcase need media conversion so the playback will work.
Media conversion is not necessary in all cases:
Essentially, Android (both the stock browser and our container) does not request
audio files within the session, so application-scope resources must be used. Here
is a sample GET request:
GET /mobileshowcase/javax.faces.resource/585e86f1-2de9-4e3e-b284-2d98c171d78c.jsf HTTP/1.1
Host: tetra.ice
User-Agent: stagefright/1.1 (Linux;Android 2.3.6)
(I guess stagefright is the "browser" dedicated to media playback that is fetching
the audio clip.)
The most general solution is to include the JSESSIONID in the URL.
if (Utils.isAndroid()) {
{ registeredPath += ";jsessionid=" + session.getId(); }HttpSession session = (HttpSession) facesContext
.getExternalContext().getSession(false);
if (null != session)
}