Re: 答复: [Laszlo-dev] video status
Sebastian Wagner
seba.wagner at gmail.com
Fri Jun 23 08:23:10 EDT 2006
hi,
>
> I've tested it and you're right the videoview doesn't change if you change
> the URL of the video-Object (While streaming from Red5). I investigated that
> the error occurs cause red5 seems to need a new NetStream-Object if you
> change the video-url.
> So what you need to do to get it running with red5 is to close old
> connection and tell the Laszlo-Api to make a new one.
> A workaround is to comment out in the file "extensions/stream.lzx" in Line
> 277:
> " // var isnew = false;"
> --> That will force the stream-Object to be rebuild
>
> and in the red5Oflademo.lzx you need to
> add in Line 37:
> " v.stream._stream.close();
> v.stream._stream=null ;"
>
> That should work, the Video-Player on my Blog is the red5oflaDemo.lzx as
> Solo-Application:
>
> http://wagner-sebastian.com/wordpress/2006/06/08/recording-webcam-and-microphone-using-openlaszlo-and-red5/
>
> I've attached the Code (and the missing resources for the small
> video-controlbar)
> Anyway another error is that the video's are playing to fast at the
> moment/sometimes.
> If you do a:
> v.stream._stream.seek(0);
> v.stream._stream.pause();
> It will be the correct speed (that's what happens if you hit the "stop"
> button), otherwise it will be like "fastforward" (which looks quite funny
> but ... :-)
>
> So what i ask myself is:
> Is this a common behaviour of FLV-Streaming that you need to make a new
> "NetStream-Object" to change the FLV-Streaming-Resource or is this a
> "Red5-special-behaviour"? Maybe the dev's @ red5-list can told us ... The
> latest stable release is 0.4 (or 0.41) ... and this is the first public
> alpha release so i expect this behaviour is maybe a bug...
>
> regards
> sebastian
>
>
> 2006/6/23, Edmond Lee < li_wenhua at worksoft.com.cn>:
>
> > Hi,Sarah Allen:
> >
> > I get the new verson from the svn url:
> > http://svn.openlaszlo.org/openlaszlo/branches/video/test/video/
> >
> > And I run the red5oflaDemo.lzx, find that the first video I selected can
> >
> > play successfully, when I changed to another one, it cannot play, can
> > you
> > tell me why? Maybe it's a bug?
> >
> > And when I run the test-recording.lzx to record a flv file, and then use
> > another application play it ,it works fine, but when I record another
> > video,
> > it can not play, maybe this bug is the same as the privous;
> >
> > Thks!!
> > Best regards!!
> >
> > -----邮件原件-----
> > 发件人: laszlo-dev-bounces at openlaszlo.org
> > [mailto: laszlo-dev-bounces at openlaszlo.org] 代表 Sarah Allen
> > 发送时间: 2006年6月23日 6:48
> > 收件人: OpenLaszlo development list
> > 主题: [Laszlo-dev] video status
> >
> >
> > Monday's API review went well. Thanks everyone who attended for your
> > enthusiasm and great feedback. Notes here:
> > http://wiki.openlaszlo.org/Video#Status
> >
> > I've renamed the "video" class to "videoview" since it looks like many
> > folks (including myself) keep wanting to use "video" as an instance
> > name.
> >
> > Next steps:
> > - put extensions and components in the right directories and add auto
> > include
> > - fold in feedback from code review
> > - docs!
> >
> > _______________________________________________
> > Laszlo-dev mailing list
> > Laszlo-dev at openlaszlo.org
> > http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
> >
> >
>
>
> --
> Sebastian Wagner
> http://www.webbase-design.de
> http://www.laszlo-forum.de
> Bleichstraße 92
> 75173 Pforzheim
> Tel.: 0177-7341829
> Home: 07231-417456
> seba.wagner at gmail.com
>
>
--
Sebastian Wagner
http://www.webbase-design.de
http://www.laszlo-forum.de
Bleichstraße 92
75173 Pforzheim
Tel.: 0177-7341829
Home: 07231-417456
seba.wagner at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060623/44423696/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: red5oflaDemo.zip
Type: application/zip
Size: 361256 bytes
Desc: not available
Url : http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20060623/44423696/red5oflaDemo-0001.zip
More information about the Laszlo-dev
mailing list