Giter VIP home page Giter VIP logo

rmp-wait-for-live's Introduction

rmp-wait-for-live

This script handles timed live event automatically for use with Radiant Media Player (HLS or MPEG-DASH).

When live event is offline a splash screen is shown to the viewer (images/splashscreen-start.jpg). When live stream becomes online, the splash screen becomes hidden, and the player shows the live stream (autoplay). When live stream becomes offline again, an end of live poster is shown to the viewer (images/splashscreen-end.jpg)

Instructions

Go to js/index.js and configure the first 3 lines according to your live setup. Enter your Radiant Media Player license key as well.

Go to images/ and replace the default images with your images.

Start live streaming!

Support notes

This script is just a baseline for more advanced use-cases, feel free to customize it as per your requirements.

The script uses JavaScript fetch function on the manifest (.m3u8 or .mpd) URL to check for availability, so make sure your manifest can be reached that way. If the manifest URL returns a network error (4** or 5**), if the manifest is empty or does not contain any streaming data, it is considered that the live stream is offline.

Issues

Please open an issue on this GitHub page and we will do our best to review it.

License for rmp-wait-for-live

rmp-wait-for-live is released under MIT.

License for Radiant Media Player

Radiant Media Player is a commercial HTML5 media player, not covered by the above MIT license.

Radiant Media Player license can be found here: https://www.radiantmediaplayer.com/terms-of-service.html.

You may request a free trial for Radiant Media Player at: https://www.radiantmediaplayer.com/free-trial.html.

rmp-wait-for-live's People

Contributors

radiantmediaplayer avatar

Stargazers

 avatar Brice Jouve avatar  avatar

Watchers

 avatar

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.