Skip to main content
Feb 11, 2012 6:39 PM UTC
Question

Use requested filepath inside application.onConnect

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!

    This topic is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    Participant
    Nov 22, 2014 12:19 AM UTC

    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?

    Translate
    Adobe Employee
    Nov 25, 2014 9:29 PM UTC

    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.

    Translate