Skip to main content
February 11, 2012
質問

Use requested filepath inside application.onConnect

  • February 11, 2012
  • 返信数 1.
  • 592 ビュー

Hello everybody,

i am trying to improve the conditional access procedure for our VOD service and i can't find any way how

to get the VOD filepath requested by the client inside server side action script application (and use it to apply the business rules).

Taking an example, here is what i need:

- client is requesting service rtmpe://fms.vodservice.com/vodapp for file mp4:/vodlocation/my_requested_file.mp4

- inside main.asc, prefferably in application.onConnect i would like to use the requested filepath "mp4:/vodlocation/my_requested_file.mp4" as

input for conditional access procedure.

Is this possible ? And how ?

Thank you in advance!

    このトピックへの返信は締め切られました。

    返信数 1

    Participant
    November 22, 2014

    Is this possible? Has this been solved? I am trying to accomplish the same thing.

    Are there other methods to getting the full file path with server side ActionScript?

    Adobe Employee
    November 25, 2014

    You do not supply stream anme/file name while doing a connect  operation...You just connect to app and then later on you make another call to the server to play the a given stream(live or recorded) for you.

    You should check for "Stream.onStatus" to check for stream name details...Though i am not sure if the query string details are available there or not.