Giter Site home page Giter Site logo

gmedia.js's Introduction

gmedia.js

G7 H5流媒体处理库,支持实时视频,历史视频回放,语音对讲,获取流媒体播放状态等。 在封装flv.js recoder.js第三方开源库基础上根据G7平台接入设备特性做优化完善,并支持了更丰富的功能。

Demo

实时视频 See realplay.html 历史视频回放 See playback_plan1.html 语音对讲 See talk.html 流媒体播放状态展示 See realplay.html playback_plan1.html 直接使用已有Url播放 See play.html

API and Configuration

See api.md

Build

npm install          # install dev-dependences
npm install -g gulp  # install build tool
gulp release         # packaged & minimized js will be emitted in dist folder

Quick Started

<script src="gmedia.min.js"></script>
<video id="idElement"></video>
<script>
    var element = document.getElementById('idElement');
    var player = gmediajs.createPlayer('http://example.com/live/video.flv');
    player.attachMediaElement(element);
    player.load();
</script>

gmedia.js's People

Contributors

mouryuan 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.