Where do I place a FLV file to stream on a local Red5 server?
Asked Answered
K

1

3

I installed the latest Red5 server, but I'm not sure where to put my .flv file to stream it. There is no "streams" or "ofla" directory like in some tutorials I've found online.

Where do I place the .flv file to stream it?

Koto answered 14/1, 2010 at 3:12 Comment(2)
have you found the correct way to locate the resource?Coontie
@Kai Chan's answer seemed to work, though I haven't looked at this in awhile.Koto
A
4

Red5 comes with some demos but they are not installed by default. That is why the directory is not there. Suppose you installed Red5 on yourmachine at /path/to/red5. After starting Red5, open http://yourmachine:5080/installer/ in your browser and install oflaDemo there. After that, you will see a directory named /path/to/red5/webapps/oflaDemo/streams. That is where the .flv file should go.

Anthropo answered 24/1, 2010 at 15:5 Comment(5)
Thanks! Follow-up question: where would I point a resource to find the stream? rmtp://localhost:1935/oflaDemo/streams/avatar.flv doesn't seem to work.Koto
I'm not able to install the OflaDemo. It stayed for hours with the message: installing oflaDemo-r3989-java6.war... but nothing is happening and the application folder is still empty. Any clue?Smollett
Makram, it may have installed but the alert did not clear. Check your webapps directory and your server log for information.Chenault
In linux: /usr/lib/red5/webapps/oflaDemo/streams In windows: c:/program files/red5/webapps/oflaDemo/streams That is where the .flv file should go.Tychonn
ofla_demo is in as2. if we write up a basic as3 app to connect to it we can establish the connection. pointing to the video fla resource does not work i.e ns.play("rmtp://localhost/oflaDemo/streams/avatar.flv ") does not work. what is the correct way to give the url for it to work??Coontie

© 2022 - 2024 — McMap. All rights reserved.