Macromedia Flash Server - RE: Access the original dimension of a live video

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > August 2005 > RE: Access the original dimension of a live video





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 RE: Access the original dimension of a live video
David Simmons

2005-08-26, 5:45 pm

Once the stream has started displaying in your video object (named
liveVideo here), try:

liveVideo._width =3D liveVideo.width;
liveVideo._height =3D liveVideo.height;

You can call this from a timer/interval or trigger it with some other
event.

Hope this helps,
=20
- Dave Simmons
Macromedia Engineering


-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Naicu
Octavian
Sent: Friday, August 26, 2005 2:48 PM
To: FlashComm Mailing List
Subject: Re: [FlashComm] Access the original dimension of a live video
stream(being played) ?

There might be 2 solutions:
1) use netStream.send() to call a function on every
subsciber's client that resizes the video object to
the parameters sent. You can use send() every x
seconds or whenever a new user joins.

2) use the onMetaData() event (search the list it has
been discussed before) but I do not know if you will
recieve any size information from live streams!

--- Wilton Rossi <wiltonrossi-/E1597aS9LQAvxtiuMwx3w@public.gmane.org> wrote:

> I think that the best solution is to use a shared
> object that stores all user config soon after the
> settings are defined. That info can be retrieved any
> time later. That's very easy to implement.=20
>=20
> Regards,
>=20
> W
>=20
> --- lti-1a8g-LMbKfuCQv7pBDgjK7y7TUQ@public.gmane.org wrote:
>=20
> of
>

=3D-----------------------------------------------------------
>

=3D-----------------------------------------------------------
>

http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20
>=20
>=20
> =09
> ________________________________________
____________
> Start your day with Yahoo! - make it your home page=20
> http://www.yahoo.com/r/hs=20
> =20
>=20
>

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

=3D-----------------------------------------------------------
>=20
> To change your subscription options or search the
> archive:
>

http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
>=20



________________________________________
__________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around=20
http://mail.yahoo.com=20

=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

=-----------------------------------------------------------
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