[Laszlo-dev] For Review: Change 20081103-hqm-g Summary: make LPS server pass media verbatim (no longer transcode to swf)
Henry Minsky
henry.minsky at gmail.com
Mon Nov 3 17:57:33 PST 2008
Change 20081103-hqm-g by hqm at badtzmaru.home on 2008-11-03 20:45:35 EST
in /Users/hqm/openlaszlo/trunk4
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: make LPS server pass media verbatim (no longer transcode to
swf)
New Features:
Bugs Fixed: LPP-7294
Technical Reviewer: max
QA Reviewer: pbr
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
+ make the ResponderMEDIA responder just return proxied data verbatim,
including response MIME-TYPE.
It no longer caches or transcodes the resource.
Note, I'll need to file a separate JIRA task to completely remove the
media cache, because it is still used
by the Compiler for embedding resources into swf8 apps. For swf9, the
flex compiler takes care of all
transcoding and embedding, so when we drop swf8 support, we can remove
the media cache and
transcode-to-swf pieces from the compiler.
Tests:
amazon in swf8 proxied and solo
demos/lzpix/app.lzx in swf8, swf9, [solo and proxied] Note, the lzpix
app
is hardcoded right now to make all image loads as SOLO requests.
Testing for proxied image
loading in the lzpix app mode can be done by commenting out this line
at the start of the file
<script>
//LzView.addProxyPolicy( function (){ return false } );
</script>
examples/image/dataimage.lzx (solo, proxied, [swf8, swf9])
examples/music/music.lzx swf8,swf9 [solo and proxied] Note: this
example plays audio in swf8 in proxied and SOLO, but something else is
wrong with it, the app reports a player running slowly before it
displays the player controls (I don't think this is related to this
change, it happens in both proxied and SOLO mode)
Files:
M WEB-INF/lps/lfc/kernel/swf/LzMediaLoader.lzs
M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/
ResponderCACHEINFO.java
M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/
ResponderMEDIA.java
M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/
ResponderCLEARCACHE.java
M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/
ResponderSETCACHESIZE.java
M WEB-INF/lps/server/src/org/openlaszlo/servlets/responders/
ResponderSTAT.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081103-hqm-g.tar
More information about the Laszlo-dev
mailing list