[Laszlo-dev] For Review: Change 20090204-maxcarlson-I Summary: Fix pausing/playback for mediastreams

Sarah Allen sallen at laszlosystems.com
Thu Feb 5 13:56:08 PST 2009


yes, but unfortunately, the recording code has gone missing in trunk... 
over the next few days I plan to resurrect it from a past rev, then Max 
will need to apply the fix (maybe it would be worth cloning the bug for 
the 4.2.x release?)


On Thu, Feb 5, 2009 at 12:50 PM , Henry Minsky wrote:

> approved. Does this fix need to be made in trunk as well ?
>
>
>
> On Thu, Feb 5, 2009 at 2:09 AM, Max Carlson <max at openlaszlo.org> 
> wrote:
>> Change 20090204-maxcarlson-I by maxcarlson at Bank.local on 2009-02-04 
>> 22:51:36
>> PST
>>    in /Users/maxcarlson/openlaszlo/pagan-deities
>>    for http://svn.openlaszlo.org/openlaszlo/branches/pagan-deities
>>
>> Summary: Fix pausing/playback for mediastreams
>>
>> Bugs Fixed: LPP-7708 - The pause method in the mediastream class is 
>> not
>> working fine, LPP-4785 - mediastream not working anymore for red5
>>
>> Technical Reviewer: hminsky, sallen
>> QA Reviewer: bkumar at laszlosystems.com
>>
>> Details: Avoid calling  _setPaused() setter when paused is not 
>> changing in
>> pause().  In play(), if we're currently paused unpause.  Otherwise 
>> reset the
>> stream so we can play again.  Avoid setting the "mode" attribute 
>> twice in a
>> row.Add comment about rtc._nc.call("getLength", this, name); being 
>> bogus,
>> avoid using it.  Set the property in _setPaused() to avoid null value
>> warnings for the initial call.
>>
>> Tests: See updated-mediastreamer-test.lzx testcase in LPP-7708.  You 
>> may
>> need to install an RTMP server and/or adjust the rtmpconnection src 
>> and
>> zstream url attributes.
>>
>> I used wowza media server for testing.  You can install the Wowza 
>> server
>> from http://www.wowzamedia.com/store.html and start it up.
>>
>> Next, set up a streaming media server by following the instruction 
>> here:
>> http://www.wowzamedia.com/quickstart.html#vod
>> Create the folder [install-dir]/applications/streamingvideo to serve 
>> as the
>> application folder. This will enable you to connect to the server 
>> using the
>> rtmp url rtmp://[server-ip-address]/streamingvideo. Next, copy your 
>> media
>> files to [install-dir]/content.
>>
>> Files:
>> M      lps/components/extensions/av/mediastream.lzx
>>
>> Changeset:
>> 
>> http://svn.openlaszlo.org/openlaszlo/patches/20090204-maxcarlson-I.tar
>>
>
>
>
> -- 
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list