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).
fetchfunction 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 installorpnpm installto install dependencies.- Create
public/content.jsonor copy one fromcontent/directory. npm run serveto start development server and visithttp://localhost:3333.npm run buildto compile production site inpublic/.
Server component is available in NDNts-video-server repository.