Macromedia Flash Server - show last frame of stream when stream drops

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > January 2006 > show last frame of stream when stream drops





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author show last frame of stream when stream drops
lists-2eRClUtwfwv10XsdtD+oqA@public.gmane.org

2006-01-27, 8:50 pm

Hi all, just a (hopefully) quick couple of questions.

When a stream drops (for example a lost network connection), the movieclip that
is currently showing the stream goes blank (i.e. a white box). I would like this
to display the last proper frame from the stream instead, untill the stream is
resumed. Any ideas?

Also, how can the flash client monitor the status of the stream? Do I just need
to use a setInterval and check the fps of the stream object or the movieclip or
something?


Cheers


Kev


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Naicu Octavian

2006-01-27, 8:50 pm

Regarding the first issue...In Flash 8 you can use BitmapData to take a s=
hot of what s in the video every second. When the stream drops, you displ=
ay the last shot.

I can't imagine any other way right now.

lists-2eRClUtwfwv10XsdtD+oqA@public.gmane.org wrote: Hi all, just a (hopefully) quick couple of ques=
tions.

When a stream drops (for example a lost network connection), the moviecl=
ip that
is currently showing the stream goes blank (i.e. a white box). I would li=
ke this
to display the last proper frame from the stream instead, untill the stre=
am is
resumed. Any ideas?

Also, how can the flash client monitor the status of the stream? Do I ju=
st need
to use a setInterval and check the fps of the stream object or the moviec=
lip or
something?


Cheers


Kev


=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



=09
---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on =
new and used cars.

=3D-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=3D-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Graeme Bull

2006-01-27, 8:50 pm

and monitor the status of the stream with the onStatus method for the
netStream.

Graeme

-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Naicu Octavian
Sent: Saturday, January 28, 2006 2:18 AM
To: FlashComm Mailing List
Subject: Re: [FlashComm] show last frame of stream when stream drops

Regarding the first issue...In Flash 8 you can use BitmapData to take a shot
of what s in the video every second. When the stream drops, you display the
last shot.

I can't imagine any other way right now.

lists-2eRClUtwfwv10XsdtD+oqA@public.gmane.org wrote: Hi all, just a (hopefully) quick couple of
questions.

When a stream drops (for example a lost network connection), the movieclip
that is currently showing the stream goes blank (i.e. a white box). I would
like this to display the last proper frame from the stream instead, untill
the stream is resumed. Any ideas?

Also, how can the flash client monitor the status of the stream? Do I just
need to use a setInterval and check the fps of the stream object or the
movieclip or something?


Cheers


Kev


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm




---------------------------------
Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new
and used cars.

=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

James Voss

2006-01-27, 8:50 pm

Monitoring the stream status will allow you to know when the stream has been bufferd on the client. I have not tried 'freezing' the last frame, but it seems it
would be possible to set your buffer very small and then retain the final segment of video that was streamed to the client. Then when the video ends, just
seek to the last frame of the video and pause it to get your 'still' shot.

James

On Sat, 28 Jan 2006 02:20:15 +0900, Graeme Bull wrote:

>and monitor the status of the stream with the onStatus method for the
>netStream.


>Graeme


>-----Original Message-----
>From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
>[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Naicu Octavian
>Sent: Saturday, January 28, 2006 2:18 AM
>To: FlashComm Mailing List
>Subject: Re: [FlashComm] show last frame of stream when stream drops


>Regarding the first issue...In Flash 8 you can use BitmapData to take a shot
>of what s in the video every second. When the stream drops, you display the
>last shot.


>I can't imagine any other way right now.


>lists-2eRClUtwfwv10XsdtD+oqA@public.gmane.org wrote: Hi all, just a (hopefully) quick couple of
>questions.


> When a stream drops (for example a lost network connection), the movieclip
>that is currently showing the stream goes blank (i.e. a white box). I would
>like this to display the last proper frame from the stream instead, untill
>the stream is resumed. Any ideas?


> Also, how can the flash client monitor the status of the stream? Do I just
>need to use a setInterval and check the fps of the stream object or the
>movieclip or something?



>Cheers



>Kev



>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------


>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm




>
>---------------------------------
> Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new
>and used cars.


>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------


>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm



>=-----------------------------------------------------------
>Supported by Fig Leaf Software - http://www.figleaf.com
>=-----------------------------------------------------------


>To change your subscription options or search the archive:
>http://chattyfig.figleaf.com/mailman/listinfo/flashcomm




=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com