Giter VIP home page Giter VIP logo

wse-plugin-mediacachelocalcontent's Introduction

MediaCacheLocalContent

The MediaCacheLocalContent Media Reader is a custom IRandomAccessReader implementation for Wowza Streaming Engine™ media server software that enables you to make locally stored content available before it's transferred to a remote Media Cache source.

This repo includes a compiled version.

Prerequisites

Wowza Streaming Engine 4.0.0 or later is required.

Usage

This Media Reader can be added to new or existing on-demand (VOD) applications. It looks for the requested piece of content in an on-demand application's content storage directory first, and if it can't find it, then tries to retrieve the content from a remote Media Cache source. This is a useful function when you need to stream locally stored content alongside remote content. For example, you could use this module if you have popular content that you need to store locally or if you have content that was just recorded and you need to make it available before transferring it to the remote server.

More resources

To use the compiled version of this module, see Access content locally before trying a remote source with a Wowza Streaming Engine Java module.

Wowza Media Cache Deployment Architecture white paper

Wowza Streaming Engine Server-Side API Reference

How to extend Wowza Streaming Engine using the Wowza IDE

Wowza Media Systems™ provides developers with a platform to create streaming applications and solutions. See Wowza Developer Tools to learn more about our APIs and SDK.

Contact

Wowza Media Systems, LLC

License

This code is distributed under the Wowza Public License.

wse-plugin-mediacachelocalcontent's People

Contributors

rogerlittin avatar akeller avatar lisa-wong avatar dnelsonwowz avatar myoung1620 avatar

Stargazers

Yuliang Ding avatar Luis Floreani avatar marcusjpotter avatar Dawid Tomkalski avatar Boris Stock avatar Tit Petric avatar

Watchers

Barry Owen avatar  avatar James Cloos avatar Jai Bapna avatar Alex Titze avatar Demian avatar Jocko avatar  avatar  avatar  avatar  avatar  avatar Rob Gabbard avatar Eric Cheldelin avatar Scott Kellicker avatar  avatar  avatar

wse-plugin-mediacachelocalcontent's Issues

Live support?

From what I'm reading this only enables local cache for vod applications?

I have a scenario where I want to use mediacache S3 backed scheduled streams and multibitrate stream to bind them together.

I create the usual streamschedule.smil with the schedules for mp4:amazons3/... resources. This works fine. But as I have multiple bitrates, I need to create an additional smil file with and would like to load it locally from wowza.

<smil>
        <head></head>
        <body>
                <switch>
                <video src="140e8524014871621dd046df7d7f5805_500" system-bitrate="500000"></video>
                <video src="140e8524014871621dd046df7d7f5805_1500" system-bitrate="1500000"></video>
                </switch>
        </body>
</smil>

Now, I would like to load this smil file from the content/ folder in Wowza, referencing it with smil:140e8524014871621dd046df7d7f5805.smil.

If I try to use mediacachelocalcontent to serve this file I get errors in this form:

MediaReaderH264.open[1]: java.io.IOException: MediaCacheRandomAccessReader.open: MediaCache source not permitted for this application [amazons3]: amazons3/[redacted]: java.io.IOException: MediaCacheRandomAccessReader.open: MediaCache source not permitted for this application [amazons3]: amazons3/[redacted]|at com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReaderFilter.open(MediaCacheRandomAccessReaderFilter.java:77)|at com.wowza.wms.plugin.RandomAccessReaderMediaCacheLocalContent.open(RandomAccessReaderMediaCacheLocalContent.java:78)|at com.wowza.wms.mediareader.h264.MediaReaderH264.open(MediaReaderH264.java:259)|at com.wowza.wms.stream.publish.PublishingProviderMediaReader.a(PublishingProviderMediaReader.java:239)|at com.wowza.wms.stream.publish.PublishingProviderMediaReader.<init>(PublishingProviderMediaReader.java:97)|

If I don't use mediacachelocalcontent and use the default com.wowza.wms.mediacache.impl.MediaCacheRandomAccessReader

WARN    server  comment 2016-09-10      08:34:15        -       -       -       -       -       4.872   -       -       -       -       -       -       -       -       MediaCache.createNewCachItem: Cannot find MediaCacheSource for (140e8
524014871621dd046df7d7f5805.smil).
WARN    server  comment 2016-09-10      08:34:15        -       -       -       -       -       4.873   -       -       -       -       -       -       -       -       MediaCache.createNewCachItem: Cannot find MediaCacheSource for (140e8
524014871621dd046df7d7f5805.smil).
WARN    server  comment 2016-09-10      08:34:15        -       -       -       -       -       4.873   -       -       -       -       -       -       -       140e8524014871621dd046df7d7f5805.smil   open: java.io.IOException: MediaCache
RandomAccessReader.open: Item not in cache: 140e8524014871621dd046df7d7f5805.smil
WARN    server  comment 2016-09-10      08:34:15        -       -       -       -       -       4.873   -       -       -       -       -       -       -       -       HTTPStreamerSanJoseLiveIndex.indexPlaylist[ams/_definst_/smil:140e852
4014871621dd046df7d7f5805.smil]: MediaList is empty.

What can I do to resolve these issues?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.