[Flashcoders] Question in regards to NetStream

2010-02-25 Thread Eric E. Dolecki
1. Since there doesn't seem to be an playing event for a NetStream, is it
best practice to run an interval and check the time property? Begin on the
Play.Start and stop it on the Play.Stop? What about a pause - handle that
internally?

2. After seeking, the time property seems wonky (inaccurate) - is there a
workaround for this?

Thanks for insights,
Eric
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Question in regards to NetStream

2010-02-25 Thread Piers Cowburn
AFAIK YouTube uses lighttpd http://redmine.lighttpd.net/


On 25 Feb 2010, at 19:09, Merrill, Jason wrote:

 How is YouTube able to provide such accurate seeking? 
 
 I would guess it's because they are using Adobe Media Server which has
 more robust seeking features like what they call Timeshifting seek and
 stream data access.  That's just my guess though.
 
 
 Jason Merrill 
 
 Bank of  America  Global Learning 
 Learning  Performance Solutions
 
 Join the Bank of America Flash Platform Community  and visit our
 Instructional Technology Design Blog
 (note: these are for Bank of America employees only)
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Question in regards to NetStream

2010-02-25 Thread Eric E. Dolecki
I wish NetStream had more events then :) I have to run a timer to update a
time placement UI. That's too bad.

How is YouTube able to provide such accurate seeking? I'm transferring video
from one SWF to another - mainly by transferring the URL to the video to
stream and trying to match as closely as possible (buffering not
withstanding) the playhead time. It seems like this is next to impossible
with video that is out of my control to encode keyframes every second.

E


On Thu, Feb 25, 2010 at 1:31 PM, Steven Sacks flash...@stevensacks.netwrote:


 https://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/events/NetStatusEvent.html

 NetStream.Play.Start
 NetStream.Play.Stophttp://livedocs.adobe.com/fms/2/docs/0592.html
 NetStream.Pause.Notify
 NetStream.Unpause.Notify


 http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#seek()

 In normal seek mode, the server starts streaming from the nearest
 keyframe. For example, if a video has keyframes at 0 and 10 seconds, a seek
 to 4 seconds causes playback to start at 4 seconds using the keyframe at 0
 seconds.

 In laymen's terms, seek doesn't jump to an exact time, it jumps to the
 nearest keyframe time prior to the time you told it to seek to.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
http://ericd.net
Interactive design and development
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Question in regards to NetStream

2010-02-25 Thread Merrill, Jason
 How is YouTube able to provide such accurate seeking? 

I would guess it's because they are using Adobe Media Server which has
more robust seeking features like what they call Timeshifting seek and
stream data access.  That's just my guess though.


Jason Merrill 

Bank of  America  Global Learning 
Learning  Performance Solutions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Question in regards to NetStream

2010-02-25 Thread Steven Sacks

https://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/events/NetStatusEvent.html

NetStream.Play.Start
NetStream.Play.Stophttp://livedocs.adobe.com/fms/2/docs/0592.html
NetStream.Pause.Notify
NetStream.Unpause.Notify

http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/NetStream.html#seek()

In normal seek mode, the server starts streaming from the nearest keyframe. For 
example, if a video has keyframes at 0 and 10 seconds, a seek to 4 seconds 
causes playback to start at 4 seconds using the keyframe at 0 seconds.


In laymen's terms, seek doesn't jump to an exact time, it jumps to the nearest 
keyframe time prior to the time you told it to seek to.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders