Demo sites:
NDNts adaptive video is a video player for global NDN network. This project is built with NDNts, Named Data Networking libraries for the modern web. This project demonstrates these NDNts capabilities:
- Use NDNts in a JavaScript project (instead of TypeScript).
fetch
function from@ndn/segmented-object
. It uses CUBIC congestion control algorithm to retrieve video segments efficiently.
This project is inspired by iViSA project. Advantages and unique features include:
- Seamless fallback to YouTube on unsupported browsers.
- Playback statistics display.
- Smaller code bundle delivered to browser.
NDNts homepage has blog articles about experiments using this application.
Build instructions:
npm install
orpnpm install
to install dependencies.- Create
public/content.json
or copy one fromcontent/
directory. npm run serve
to start development server and visithttp://localhost:3333
.npm run build
to compile production site inpublic/
.
Server component is available in NDNts-video-server repository.