2 Replies Latest reply: Nov 25, 2014 1:29 PM by hparmar RSS

    Use requested filepath inside application.onConnect

    PopCatalin Community Member

      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!