[Laszlo-dev] For Review: Change 20090323-maxcarlson-z Summary: Fix playing attribute for http video streams

Sarah Allen sarah at ultrasaurus.com
Mon Mar 23 19:49:25 PDT 2009


Looks like the right fix to me.  However, in swf9 the delegate needs  
to have an argument:

http://localhost:8080/trunk/test/video/test-stream-video-rtmp-sep.lzx?debug=true&lzr=swf9
org.openlaszlo.sc.CompilerError: extensions/av/mediastream.lzx: 961:  
Error: Incorrect number of arguments. Expected 1, in line:  
this._onStop()

On Mar 23, 2009, at 6:50 PM, Max Carlson wrote:

> Change 20090323-maxcarlson-z by maxcarlson at Bank on 2009-03-23  
> 18:47:42 PDT
>    in /Users/maxcarlson/openlaszlo/trunk-clean
>    for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Fix playing attribute for http video streams
>
> Bugs Fixed: LPP-7708 - The pause method in the mediastream class is  
> not working fine.
>
> Technical Reviewer: sarah at ultrasaurus.com
> QA Reviewer: promanik
>
> Details: Should listen for "NetStream.Play.Stop" events for http  
> streams.
>
> Tests: test/video/test-videoplayer-http.lzx now sets 'playing' to  
> false when the stream stops - at the end of the file.
>
> Files:
> M      lps/components/extensions/av/mediastream.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090323-maxcarlson-z.tar



More information about the Laszlo-dev mailing list