You would have to change your call to play(). When dealing w/a live
stream, you subscribe to the name of the stream, instead of specifying
the file. (This is b/c a live stream/video conference will not have a
file name.)
You configure the stream on the server as an application, and start it
up. On FMS, it will create a default instance as needed. I don't
remember how Red5 works. B/c your requirements seem fairly simple,
there should be ample good examples in the docs. The biggest hurdle
will be getting the streaming server installed and configured.
Kevin Shorner-Johnson wrote:
Thank you for the help,
This is going to show my inexperience with flash video. If I decide
to move my video to a streaming server, do I need to change any
actionscript code in my application (other than the video file path)?
From what I read about the net stream class, it does not appear that
any code in my application would need to be changed to make this
transition. Is this correct?
Thank you for your help,
Kevin
On Sep 14, 2008, at 12:44 PM, Scott Talsma wrote:
Justin is dead on. B/c you are using progressive download, you
cannot seek to a point beyond what is already downloaded.
You may want to consider using Red5 or Flash Media Server (or
whatever they are calling it now). Both will allow you to stream
video. Red5 is open source. FMS is commercial, but the developer
edition will allow a limited number of connections (I think 5 or 10
concurrent), so it might be enough, depending on your application
needs. Both however assume that you have a server available onto
which you can install the streaming app.
Justin Haygood wrote:
1. Make sure that much of the video is downloaded first. This is a
drawback of progressive downloaded video.
2. Seek() only works to keyframes. Make sure you have keyframes
encoded in the video at those points.
--------------------------------------------------
From: "Kevin Shorner-Johnson" <[EMAIL PROTECTED]>
Sent: Saturday, September 13, 2008 8:28 PM
To: <[email protected]>
Subject: [AFFUG Discuss] NetStream and Video Problem
I have recently encountered a problem with the netStream.seek()
method. I have built a video application for my doctoral
dissertation that extensively uses the seek function with a
"scrubber bar" and buttons that allow the user to move through a
video in 10 second and 1 minute increments.
When I pilot tested the application this summer, I used a 20
minute flv video that was loaded into the application and
everything worked just great. Now I am having problems with the
seek() method. When I use the scrubber bar, or any button to move
forward through the video, the video 'snaps back' to a location
that is nowhere near where I need it to go. For example, if I move
the playhead position to 23 minutes and 14 seconds, the video
might snap back to 9 minutes and 34 seconds and never allow me to
jump to that spot in the video. I have to let the video play to
that spot.
I think that the root of all of my problems is that I have built
the application around progressive downloading of the video rather
than streaming. Now that I am using larger videos of 45 and 55
minutes, this may be the root of all of my problems. Is this my
problem or is there another aspect that I need to troubleshoot?
Thanks for any help that you can provide,
Kevin Shorner-Johnson
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with
unsubscribe in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with
unsubscribe in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe
in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe
in the subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------
-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the
subject line
For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------