Giter Club home page Giter Club logo

castmediaplayerstreamingdrm's Introduction

CastMediaPlayerStreamingDRM

===============================

This Google Cast sample app demonstrates how to play streaming media on Chromecast. It uses Cast Receiver SDK and Media Player Library. It highlights the following features.

  • Streaming: MPEG-DASH, Smooth Streaming, and HLS
  • Enable live streaming
  • Captions: external and in-stream
  • Adaptive Bitrate Streaming
  • DRM license server URL
  • CORS and cross domain policy

It uses a Chrome sender but can work with Android or iOS senders as well. It also provides debugging features with live code snippets to illustrate interactions between sender and receiver.

Setup Instructions

Pre-requisites

  1. Get a Chromecast device
  2. Install the latest Chrome browser
  3. Install the latest Chrome Cast extension

See the developer guide and release notes at https://developers.google.com/cast/ for more details.

Steps to setup:

  1. Put all files on your own server
  2. Change YOUR_APP_ID in sender.js to your own application ID
  3. Point your receiver app URL in Developer Console to http://[YOUR_SERVER_LOCATION]/CastMediaPlayerStreamingDRM/mpl.html
  4. Open a browser and point to your page at http://[YOUR_SERVER_LOCATION]/CastMediaPlayerStreamingDRM/index.html

Instructions:

  • Launch app and load/play media streams
  • Show/hide receiver debug message on TV
  • Show/hide video element on TV
  • Watch the following in debug message on receiver side:
    • App State, Sender Count, Media Element State and Volume State
    • Cast Receiver Manager Message
    • Media Manager Message
    • Message Bus Message
    • Media Player: Host, Protocol, Player
    • Streams: bitrates, codecs, captions
  • Experiment on sender side:
    • Enable live streaming
    • Set max bandwidth
    • Set custom license server URL
    • Enable/Disable captions
    • Inspect code snippets live

##Documentation

References and How to report bugs

How to make contributions? Please read and follow the steps in the CONTRIBUTING.md

License See LICENSE.md

Google+

Google Cast Developers Community on Google+ http://goo.gl/TPLDxj

castmediaplayerstreamingdrm's People

Contributors

shawngit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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