Flash Media Server: loading FLV and onMetaData problems

I kinda like having problems at job now, because it gives me something to write about. I had two big problems today. We switched from a traditional server to a Flash Media Server to host our videos. So I had to adapt the actionScript to connect to the new server. I thought this would be a piece of cake; so wrong I was. All I wanted to do is change the address in the link in the netStream.play method. Nope, the thing with Flash Media Server is that you have to connect to the application first and then request the file to stream. I did just that like indicated everywhere, but what nobody will tell you, like if it was a big secret, it’s that you don’t put the extension of your movie in its link so insteand of “design/intro_movie.flv”, you have to do it this way: “flv:design/intro_movie”. Quite strange and unintuitive way to do. Anyway, once you get this figured out, it’s pretty easy, but still I had to experiment for about 3 hours just to find that out. I’ll post the code for the connection tomorrow.

, , ,

  1. #1 by Hadi - April 26th, 2008 at 08:39

    I’m so interested to hear more about this! more information please… one of my clients has asked us to use a regular FLV player and link it to an FLV being saved on a flash media server… I would appriciate if you can help me about this… any hints? any guids? are highly appriciated…

  2. #2 by dgelineau - April 26th, 2008 at 12:19

    I will post the code from what the flv player I was using on Monday night. It will be in as2

(will not be published)
Subscribe to comments feed
  1. No trackbacks yet.

Parse error: syntax error, unexpected ';' in /homepages/25/d169645162/htdocs/wp-content/themes/fusion/footer.php on line 13