[Red5] About streaming "on demand"
oezdemir at pragmatik.ids-mannheim.de
Thu Jun 29 10:10:01 EDT 2006
ns.play() doesnt work proper with the start and length parameters. When I
ns = new NetStream(nc);
First of all, the start and length parameters are completely ignored: It
starts always at position 0 with -1 length.
Second: ns.seek() doesnt work anymore, when I set start and length in
Do I something wrong there?
And dont you think a server-side solution will be more stable?
I could call a class like ns.call(cut,videoname,start,length); and the
server will prepare the stream for me. Isnt that possible?
And another feature-request: Is it possible to request a jpg or another
screenshot of the flv from the server?
and force the browser to download
Best regards & sorry for nerving,
Von: Red5-bounces at osflash.org [mailto:Red5-bounces at osflash.org] Im Auftrag
von Steven Gong
Gesendet: Montag, 26. Juni 2006 12:50
An: Red5 at osflash.org
Betreff: Re: [Red5] About streaming "on demand"
On 6/26/06, Yasar Özdemir <oezdemir at pragmatik.ids-mannheim.de> wrote:
I am very new to red5 and Java. Anyhow, I found it easy to get into it.
First of all, thank you all to making this job!!!
I have a website, where users can upload their flv videos and share them
with the community. So I need an "on demand"-server. The client should be
able to stream small preview pieces of large flv files by giving start and
Now my question:
I used the oflaDemo for my purposes and made some modifications on it. The
netStream works very well. When I call "onMetaData" in the flash client,
there returns some info like "duration" and "fps" and all.
1. What does the netStream.play(filename) call on the server, because I
haven't got any function for that in my application?
2. Where is the procedure on the server that sends the metadata?
3. And how can I call it from my java Server-Side-Application?
4. Can you point me a direction, how I can change the streaming progress to
start streaming at a specific time position and stop after a while? (Using
The play() function takes actually four params. That is play(flvName, start,
length, flushPlaylist). The first param is mandatory and the rest are not.
The default value for start is 0, length is -1 and flushPlaylist is true. So
if you want to play at a specific time with a specific length, just specify
the "start" and "length".
Maybe I am not skilled enough to do that all, but I can learn it (when
somebody shows me where I can start). For now I even don't know where the
stream is exactly handled on the red5 and how I can change it...
Thank you very very much for helping and for working open source!!!
Red5 mailing list
Red5 at osflash.org <mailto:Red5 at osflash.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Red5