Skip to main content
Participant
April 17, 2008
Question

Intercept plays

  • April 17, 2008
  • 1 reply
  • 261 views
I need to setup the VOD service to look into a directory with the instance name in it for videos. For exmaple

rtmp://server/vod/joe should look for videos in basedir/joe only.
rtmp://server/vod/susan should look for videos in basedir/susan only.

1. Is there a way to enbed the instance name in the Application/StreamManager/VirtualDirectory statement of the Application XML file?
2. Is there a way to intercept the play command so I can programaticlly change the stream name?
    This topic has been closed for replies.

    1 reply

    April 21, 2008
    Modify VOD app to use
    Client.readAccess = <instancename>
    Client.writeAccess = <instancename>
    This would restrict file reading permissions for a client connected to each instance to corresponding virtual directory.