PDA

View Full Version : FLVPlayBack with Flash Media Server 3


parkerst
03-13-2008, 02:26 AM
Hi,

Our company has recently started trialing Flash Media Server 3, however, I am having issues attempting to play flv files through it.

Obviously, to cover the simple and obvious answers...
1. Domain restrictions ahve been disabled until I know the playback works
2. Ports are open on the server to play the file
3. On the server administration, in the live log, I am seeing "Accepted the connection from IP:{our ip}"

Ok, so here is the issue...

In the AS2 sample provided with Flash Media Server(FMS herein) 3, the sample file plays fine on the url rtmp://{theServer}/vod/sample/sample.flv, this is no issue. This plays both locally on my pc, on the server (when logged in, thus, in this case theServer = localhost) and when on our HTTPServer

In as3 however, the file does not play. For what ever reason. I had a swf which was playing the flv's off the HTTP server just fine, and all I did was change the source of the FLVPlayBack to rtmp://{theServer}/vod/sample/sample.flv and its a no go.

I even tried dumbing it down, using flash as3, I went to "import to library", selected a random flv off my hdd, then opted a flash streaming server and put in the url mentioned earlier. The flv playback component even matched the dimensions of the video on the server!

But upon publishing, no play!

wvxvw
03-13-2008, 02:57 PM
The link should be 'rtmp://{theServer}/vod/sample/sample' (no .flv extention). Is this correct?

parkerst
03-16-2008, 10:54 PM
Yes, I tried that too to no avail.

the .flv and the lack thereof produced the same results.

wvxvw
03-18-2008, 04:50 PM
Hm... are you sure, you have an application (ASC) in the directory vod/sample and a directory, say, vod/sample/media, which is registered with the application (i.e. application 'knows' where to get the FLV), and the FLV is really there?

parkerst
03-18-2008, 10:41 PM
yup because it definately plays on the server with the provided flv playback example thing in the app directory, so i'm beginning to think its something to do with my code or compiler, however, i'm doing it as basic as I can fathom and its still not responding.

charly
04-07-2008, 11:04 PM
I was stuck on this same problem ( at least I think...)
Not sure how or why, or if it's even the same problem... but I solved it by adding this:
'rtmp://{theServer}' + "/_definst_/" + 'vod/sample/sample'

Hope it helps someone out there!

:rolleyes: