Results 1 to 9 of 9

Thread: server.xml setting for MediaCache

  1. #1
    Join Date
    Apr 2010
    Posts
    208

    Default server.xml setting for MediaCache

    What is the difference between these 2 settings in conf/server.xml?

    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener</BaseClass>
    </ServerListener>

    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.amazonaws.ec2.mediacache.MediaCacheServerListenerAmazonEC2</BaseClass>
    </ServerListener>

    I'm using wowza on amazon ec2 but not the prepaid one! I set up wowza myself on ec2.
    I try to accomplish to broadcast a videofile residing on s3 with the live application.
    Which of the 2 should I use? And why?
    Is the MediaCache addon package of any help here?
    As far as I understood the MediaCache addon package is used only by the vods3 application.

    Thank you!

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    If you installed Wowza yourself, use the packages you find here

    http://www.wowza.com/forums/content....f-All-Articles

    http://www.wowza.com/forums/content....nd-scalability

    Anything with ".amazonaws.ec2" in the path is from the pre-built AMIs, which you are not using.

    Richard

  3. #3
    Join Date
    Apr 2010
    Posts
    208

    Default

    For 2 days I'm waiting for your colleague John from sales to send me the MediaCache addon package. He replies to my emails but still doesn't want to give me that package.
    Is this normal procedure? Why don't you simply put it out for download.

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    If it is for a EC2 server, MediaCache is pre-installed. You set AWS credentials in /conf/MediaCache.xml.

    Richard

  5. #5
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Otherwise John will get back to you by tomorrow. Sorry the delay, some circumstances have increased wait time.

    Richard

  6. #6
    Join Date
    Apr 2010
    Posts
    208

    Default

    It is an EC2 server but not a pre-build one. I installed wowza myself. I bought a monthly wowza license.
    What happens if I use the com.wowza.wms.plugin.amazonaws.ec2.medi acache.MediaCacheServerListenerAmazonEC2 class.
    Will it work?

  7. #7
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    You will have to use the downloadable one in that case. John should get back to you by tomorrow.

    Richard

  8. #8
    Join Date
    Apr 2010
    Posts
    208

    Default

    I tried to set up MediaCache for reading from an amazon s3 bucket.

    Application.xml:
    <!--Property>
    <Name>randomAccessReaderClass</Name>
    <Value>com.wowza.wms.plugin.mediacache.impl.MediaCacheRandomAccessReader</Value>
    </Property-->
    <Property>
    <Name>randomAccessReaderClass</Name>
    <Value>com.wowza.wms.plugin.amazonaws.ec2.mediacache.MediaCacheRandomAccessReaderAmazonEC2</Value>
    </Property>

    Server.xml
    <!--ServerListener>
    <BaseClass>com.wowza.wms.plugin.mediacache.impl.MediaCacheServerListener</BaseClass>
    </ServerListener-->
    <ServerListener>
    <BaseClass>com.wowza.wms.plugin.amazonaws.ec2.mediacache.MediaCacheServerListenerAmazonEC2</BaseClass>
    </ServerListener>

    As you can see the first entry I commented out and it works fine. But when do it the other way around it doesn't work.
    Any ideas why?
    I got from John the MediaCache package and did all as written in WowzaServerMediaCache_UsersGuide.pdf.
    I have setup myself wowza on ec2. It's not a prebuild one.
    Thanks!

  9. #9
    Join Date
    Apr 2010
    Posts
    208

    Default

    Found the problem. In the lib directory there still was wms-plugin-amazonaws.jar.
    I deleted it and now it works!

Similar Threads

  1. Replies: 15
    Last Post: 02-21-2013, 03:57 PM
  2. Replies: 5
    Last Post: 06-11-2012, 01:18 AM
  3. Setting H264 level in xml?
    By Deckard in forum AddOn: Transcoder
    Replies: 3
    Last Post: 12-11-2011, 03:22 PM

Posting Permissions

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