|
-
Streaming issue
I have a simple flv file set up to stream. I have coded my client side flash like so:
connection = new NetConnection();
connection.connect("rtmp://localhost/stream");
subscribeStream = new NetStream(connection);
subscribeStream.play("corp");
myVid.attachVideo(subscribeStream);
but it isn't working. Does the flv file need to be in a specific directory? Does there have to be a path to it? What am I doing wrong. This is a simple stream with no buffering. Any help would be appreciated.
-
Answer....
Ok all.. I found my answer. When you create a folder under the application folder on the flash comm server you need to have a separate folder called streams. Inside of that you need a folder called _defInst_ which is the default folder for an instance of the application on the server. The server will look in that folder for the flv file to stream. Anywhere else and it really complains. ie: it won't work. So there you have it. :-P
-
Good info! The server will automatically create these folders for you if you are creating streams with the flash player (either broadcasting or recording) but for prerecorded streams, this makes sense.
*Note, if you've recorded a stream with flashcom, you won't need to do this to play it back as the folders will already be there.
Psx
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|