Skip to main content
Participant
March 11, 2008
Question

Access Plug-in doesn't work in Development Server

  • March 11, 2008
  • 1 reply
  • 262 views
I have downloaded the Linux development version of the flash media server version 3.0. Video streaming works fine.

I want to write a C/C++ access plugin to control accessing the video streams. I changed adaptor.cpp that comes in the samples directory. I modified the onAccess method to always execute pAccess->reject(). After compiling libconnect.so, I put this file in /opt/adobe/fms/modules/access. I stop and restart the server.

I would expect I cannot stream the videos. However, I can still stream them with the access plugin enabled. There is no error in the log.

What have I done wrong?
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    March 12, 2008
    Make your changes
    Then clean the plugin if any previous samples were built using the command "make -f Makefile.access access_clean"
    Build the sample using command "make -f Makefile.access"
    Copy the libconnect.so file to /opt/adobe/fms/modules/access
    and restart the server

    For more details on reject() method read flashmediaserver_plugin_dev.pdf and flashmediaserver_plug_in_API manual present below documentation folder.