Skip to main content
Participant
June 29, 2008
Question

FMS3 and a Custom File Plugin

  • June 29, 2008
  • 1 reply
  • 287 views
Hello,

Over the last couple of weeks I have been developing a custom file plugin to enable
FMS to work with our in-house, proprietary asynchronous file system. Every now and then, when playing multiple streams,
I experience a complete playback halt, all streams stop playing, yet my plugin seems to still be running. How can I
debug the server (using GDB doesn't seem to do the trick) or enable high verbosity levels, to try
and determine who is at fault?

Thanks,

Gilad
    This topic has been closed for replies.

    1 reply

    Participating Frequently
    June 30, 2008
    You can use couple of techniques to do so. First you could use a PrintLog function provided in sample to record your info in FMS FileIo.log, if FMS experiencing problem with info returned by your plugins errors or warning also will be recorded there. Also you could review FMS standard logs such as access log. FMS stops playing a stream after you returningh content by your plugin - means some info is not correct for instance could be file handle or fstat or read. You also could attach a debugger to your dll / so on a fly and debug your module with FMS at runtime.

    Another solution - try to run a provided FMS file plugin sample and see if it works (it should) and after modify it step by step.

    Thanks