Skip to content

This is a web based multiview screen for HLS and MPEG-DASH streams based on hls.js and Shaka Player.

License

Notifications You must be signed in to change notification settings

bjowe/ott-multiview

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a web based multiview screen for HLS and MPEG-DASH streams based on hls.js and Shaka Player. Recommended to run in fullscreen mode.

Demo: http://labs.eyevinn.se/multiview/?config=example.json

Some limitations apply:

  • No support for DRM protected content as this is often solutions specific to each site
  • Only tested in Chrome and Safari

Installation

Get the code from Github or fork the repository if you plan to contribute to this project.

	git clone https://github.com/Eyevinn/ott-multiview.git

Install the necessary node modules

	npm install

Start the Node express app

	npm start

Usage

When the Node express app is up and running you can direct your Chrome browser to:

	http://localhost:3000/?config=example.json

where example.json is a configuration file placed in the directory config/ and can look like this:

	{
		"row0": [
			{ "title": "View port title",
			  "manifest": "http://example.com/master.m3u8",
			  "type": "hls" }
		],
		"row1": [
			{ "title": "View port title 2",
			  "manifest": "http://example.com/manifest.mpd",
			  "type": "dash" }
		]
	}

To toggle audio on or off click on the viewport that you want to listen to. A green border indicates for which viewport the audio is enabled. You can also use the keyboard keys 1-8.

Keyboard Shortcuts

  • SPACE - toggle play / pause for all viewports
  • 1-8 - activate audio for viewport 1 to 8
  • F - toggle fullscreen mode

Contribution

We are very happy if you want to contribute to this project. Just follow the "normal" procedures and:

  1. Fork this repository
  2. Create a topic branch in your fork
  3. Add feature or fix bug in the topic branch
  4. Issue a pull request explaining what has been done

About

This is a web based multiview screen for HLS and MPEG-DASH streams based on hls.js and Shaka Player.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.6%
  • HTML 27.1%
  • CSS 9.3%