Skip to main content
Participant
March 30, 2010
Question

Video on demand Application Oddness

  • March 30, 2010
  • 1 reply
  • 440 views

I have a basic video on demand app running on Flash Media Interactive 3.5.  I've noticed that in our flowplayer page, in order to view the contents I have to set the netconnectionurl to be the address to the app, and then the file name url needs to contain the rest of the path.

For Example:

NetConnectionURL: rtmp://myserver.edu/appname/

Url: path/to/file/many/folders/deep/video.mp4

However - I have accessed the same file from a different server using the following:

NetConnectionURL: rtmp://myserver.edu/appname/path/to/file/many/folders/deep/

Url: video.mp4

Does anyone know what type of VOD application or settings need to be configure to allow the later example to work?

    This topic has been closed for replies.

    1 reply

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    March 31, 2010

    Hi,

    Are you sure your connection url was  "rtmp://myserver.edu/appname/path/to/file/many/folders/deep/" or was it " rtmp://myserver.edu/appname?path/to/file/many/folders/deep/"

    Was NetConnection.connect() method directly using this url in it? or the extra path details were stripped off from connect url and used with streamname while subscribing to the media?

    Is the server using authorization plugin? using which one can achieve this.
    In E_CONNECT authorizing event, you can modify the connection url by stripping off the path details like "rtmp://myserver.edu/appname" and make successful connection. But this stripped path details "path/to/file/many/folders/deep/" has to be maintained in a variable and prefix the stream name when the client requests for the stream play like "path/to/file/many/folders/deep/mp4:video.mp4"

    Regards,
    Janaki L

    Participant
    March 31, 2010

    Actually, I thought about it some more and the url is:

    rtmp://myserver.edu/appname/media/path/to/file/many/folders/deep/

    As far as the netconnectionurl in flowplayer, we could give it the full path "rtmp://myserver.edu/appname/media/path/to/file/many/folders/deep/" and then the url would just be set to the name of the file.

    There is no authorization plugin in place at this time.

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    April 5, 2010

    Can you pass me the client application code? I would like to look at it

    before concluding things. Wondering how server can return success on such connection url.

    Regards,

    Janaki L