Guuzzeji / YouTube-Server-Backend-Experiment

A experiment to understand how MPD files work and understand how YouTube backend works when it comes to streaming video / audio files.

Repository from Github https://github.comGuuzzeji/YouTube-Server-Backend-ExperimentRepository from Github https://github.comGuuzzeji/YouTube-Server-Backend-Experiment

YouTube Server Backend Experiment

A experiment to understand how MPD files work and understand how YouTube backend works when it comes to streaming video / audio files.

How it Works

How this project works is by first getting YouTube's MPD file for a specific video and then processes the MPD file in order to redirect the links towards a custom server (the cors server). Then it can finally send the custom MPD file to the client that requested the video. Essentially, this project acts as a proxy for watching YouTube videos.

TODO LIST

  • Create MPD file parser, that switches google url to api url
  • Create api call that allows server to fetch video from google servers
  • Create test html and video
  • (Optional) Add which region a video is block from, using https://polsy.org.uk/stuff/ytrestrict.cgi

Tools / Links / Docs

Helps

About

A experiment to understand how MPD files work and understand how YouTube backend works when it comes to streaming video / audio files.

License:MIT License


Languages

Language:JavaScript 76.9%Language:HTML 23.1%