Re: [Flashcoders] RTSP in flash?

2006-06-30 Thread Chafic Kazoun
The Flash Player doesn't support the RTSP protocol (neither RTP, RTCP  
which are usually also required for proper RTSP) and it doesn't  
support decoding MPEG4 Video.  So, currently there is no way for you  
to play such a stream natively in the player and I doubt it will be  
coming anytime soon if ever.  The only other option would be for you  
to try to layer a quicktime player (if that player supports the  
version of mpeg4 your camera provides) or some media player on top of  
the Flash interface and have them communicate to each other, which  
essentially means you would fake the displaying of the video within  
Flash.


My guess is you are trying to do this within a browser, if you have  
the option of distributing this application as a desktop application  
you might want to look into some methods of embedding media player  
within a desktop application or take a look at 3rd party projector  
tools which some will allow you to do this more easily if you have no  
experience in writing desktop applications


HTH

Chafic
http://www.atellis.com
blog: http://www.rewindlife.com


On Jun 30, 2006, at 4:45 PM, Wade Arnold wrote:

I have a desktop application that I am working on that has one  
camera that

it connects at:



rtsp://127.0.0.1/livefeed



I have scoured the web and do not see any way of natively accessing  
this
stream from flash. Does anyone know of any third part flash players  
that

allow you to connect to real time streaming protocol?



Thanks for any insight!



Wade Arnold

t8design.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Actionscript 3.0 compiler Qs

2006-08-21 Thread Chafic Kazoun
From what I know (And I am no expert on the Flash Player). The way  
the JIT process works, not everything is actually always JITed.  
Bytecode that is executed once may not tget JITed at all. But code  
that is accessed multiple times or deemed as a performance botleneck  
will get JITed. The main motivation behind this would be to reduce  
application perceived performance by interpreting some code rather  
than Jitting which would alleviate the user from having to wait for  
the JIT process to complete. This is most apparent on application  
startup where if the user had to wait for everything to go through  
the entire JIT process, things would just seem slow. You see this  
with the Java runtime although Sun has improved this over time.


HTH

Chafic

http://www.rewindlife.com

On Aug 21, 2006, at 5:40 PM, David Rorex wrote:


On 8/21/06, Martin Wood <[EMAIL PROTECTED]> wrote:
>> Does the compiled code get recompiled during runtime to machine  
code

>> (like a JIT compiler) or does it get interpreted?
>
> Some Adobe presentation on the subjet was saying that all the  
code get

> JIT'ed, except the $iinit and $cinit functions which are the one
> defining the classes and initializing their static variables.

I just read that the other day and was wondering why?

Personally I cant really think of why constructors and  
initialization should be
interpreted and not JIT'ed but im sure someone can think of good  
reasons.


Perhaps because they are only run once? From what I understand, JIT is
a small penalty the first time, then each successive use is sped up.
If there are no successive uses, then it will be a net loss to use
JIT.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com