Skip to main content
Participant
June 28, 2010
Question

FMS, VideoPlayer and application instances

  • June 28, 2010
  • 1 reply
  • 992 views

I am trying to playback recorded  streams from a Flash Media Interactive Server using the VideoPlayer  component in Flex  4/Flash Builder 4.

If the stream is located in the  <serverpath>/streams/vod/_definst_ directory then I can get to it  by setting the 'source' parameter of the VideoPlayer to  "<server>/vod/streamname" assuming streamname is an .flv file.  If  the stream is located in an application directory (e.g. 'app1') in the  _definst_ directory (i.e. <serverpath>/app1/streams/_definst_),  then I can successfully play it back by setting the 'source' parameter  to "<server>/app1/streamname".

What I can't get to work is when I  have a stream recorded to an instance within an application directory.   So if the application is "app1' and the instance name is "inst1" it  would be literally located in <serverpath>/app1/streams/inst1  directory.  Setting the source parameter to this  "<server>/app1/inst1/streamname" does not work.  It seams to be  ignoring the 'inst1' part of the path because the server side log shows  '_definst_' as the instance name being run.

I know this is in part a Flex 4 question, but manually writing a video player works.  I  would just like to get the Flex 4 VideoPlayer component to play the  video.

Thanks  for any help.

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    June 28, 2010

    Hi Michael,

    I tried the scenario what you were trying and I am also seeing that issue it will be good if you post your query in Flex Forum. Through code I was able to play but dragging the component and then playing is not happening.

    Regards,

    Amit

    Participant
    September 1, 2011

    Is there any way to solve this problem? I'm building an application in my company and we need to do something similar to this.

    This is very critical.

    Thanks.