Results 1 to 6 of 6

Thread: wowzaDoesNotUpdateCustomModule

  1. #1
    Join Date
    Aug 2013
    Posts
    2

    Default wowzaDoesNotUpdateCustomModule

    Good day!

    2 years ago I made and compilied module based on ModuleLiveStreamRecordAutoRecord with little changes to specify destination folder, like:

    <...>
    String path="D:/video";
    recorder.startRecordingSegmentBySchedule(stream, path, null, "* * * * * *");
    <...>

    Put ModuleLiveStreamRecordAutoRecord.jar at {installFolder}/lib
    And add to Application.xml:
    <...>

    <Module>
    <Name>ModuleLiveStreamRecordAutoRecord</Name>
    <Description>*</Description>
    <Class>com.wowza.wms.example.module.ModuleLiveStreamRecordAutoRecord</Class>
    </Module>
    <...>

    It works fine for 2 years. Today I connected new storage and want to write video there. Created new module with changes:

    <...>
    String path="F:/video";
    recorder.startRecordingSegmentBySchedule(stream, path, null, "* * * * * *");
    <...>

    Compiled to .jar and replaced old {installFolder}/lib/ModuleLiveStreamRecordAutoRecord.jar with new module

    But after restart Wowza still writes to "D:/video". Then I totally deleted module from {installFolder}/lib, but Wowza still writes to "D:/video" although module does not exists. I suggest my module cashed somewhere. How can I force Wowza to use new module?

    I stopped Wowza, made changes, started Wowza. Rebooted server, nothing helps.

    WSE4.1.0 on Win7x64

  2. #2

    Default

    Is your project in eclipse referencing the Wowza 3 libraries at compile time? If so, you can import the new Wowza 4 jar files into to your java build path->libraries.

    Salvadore

  3. #3

    Default

    Or could it just be another module doing the task? I know it sounds stupid but we have done such stupidity in the past. Due to R&D reasons merged module/filename midway with another and then closed the project without updating the documentation. After six months my staff was facing the same thing as you are. So I asked him to disable all/similar custom modules one by one and then he was able to find the combined one.

    You mentioned you deleted the file still it writes to old location. When you remove the module file, Wowza should throw the module not loaded/found error. If not, it is loading the module from some other file. Also check your Application.xml (you must've already have) carefully for double entries or something.

    Not a solution and may not apply in your case, but just a thought.

    Regards
    Inderjeet

  4. #4
    Join Date
    Aug 2013
    Posts
    2

    Default

    Thanks for advice!

    About a year ago I made httpprovider. In eclipse I created new class but not new project. In the second window was previous auto-record module. When I compiled it both classes were in one jar file. Today I made two new projects for httpprovider and auto-record module. Everything works as expected.

    Problem solved. Do not make such stupid mistakes, colleagues :-)

  5. #5

    Default

    That's great news! Thanks for the update and glad you sorted this out.

    Regards,

    Salvadore

  6. #6

    Default

    Quote Originally Posted by Korner View Post
    Do not make such stupid mistakes, colleagues :-)
    You can't help it! We all have been there at least once. So many modules, with different variations, in different stages, and the need to start a new clean one quickly because the deadline is approaching...I know sounds like a messy workspace, but this is what happens when working with Wowza modules and no SVN is being used

    Glad your issue is sorted. All is well that ends well.

    Best wishes
    Inderjeet

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •