Git Product home page Git Product logo

millicast-player's Introduction

You will need a Millicast account for the example.

You can create account here https://millicast.com/

1.This player includes a mute image overlay.

2.Offline reconnect for network disconnect.

3 Viewer count.

4.Message overlay.

  1. In your Millicast portal(+) Create a new stream label Select the API Tab. You will need the following to test the player. AccountId and Streamname

You can test the player right here.

DEMO:

https://rnkvogel.github.io/Millicast-Player/

Note secure token is not needed if youdid not enable it.

Place the folder on your website

https://YOUR_WEB_SITE/player/?id=ANY_NAME

Customize the player as desired.

If you secured your stream requiring a token. https://reqbin.com/curl

curl -H "Authorization: Bearer YOUR_API_CODE_FROM_PORTAL_ACCOUNT_TAB"
-H "Content-Type: application/json"
https://api.millicast.com/api/subscribe_token/
-d '{"subscribeRequiresAuth": true, "label": "STREAM_LABEL", "streams": [{"streamName": "STREAM_NAME"}]}'

Set up responsive iframe

<iframe class="responsive-iframe" src="YOURSITE.COM/playerpath.></iframe>

millicast-player's People

Stargazers

 avatar

Watchers

Robert J Vogel avatar  avatar

Forkers

imlshane

millicast-player's Issues

Firefox issue

Hi I get this:
Uncaught ReferenceError: Offline is not defined

V is not defined

var wait = ms => new Promise(resolve => setTimeout(resolve, ms)); (async () =&gt; { v.srcObject = await navigator.mediaDevices.getUserMedia({player: true}); while (true) { console.log(v.currentTime); await wait(100); } })().catch(e =&gt; console.log(e));

Hi,

We are getting V is not defined error on console using this web player, the culprit is above.

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.