I am complete new in Adaptive streaming over HTTP . I have little bit experience in HTML and JavaScript . Initially I have read lot of documents for DASH and Adaptive streaming over HTTP . I have understood lot of new things . Now i want to create my custom video player for adaptive streaming in HTML 5 . I have gonethrough some of the following documents . My findings are
Media Source Extensions (MSE)
is aJavaScript API
that lets you build streams for playback from segments of audio or video .- We can use
MSE
related APIs injavascript
for the implementation of adaptive streaming in HTML 5. Dash.js
library an open-source MPEG-DASH player implemented entirely in JavaScript .
I have gone through
- https://msdn.microsoft.com/en-us/library/dn551368(v=vs.85).aspx
- https://developers.google.com/web/fundamentals/media/mse/basics
- https://blogs.msdn.microsoft.com/interoperability/2014/01/03/mpeg-dash-tutorial-embedding-an-adaptive-streaming-video-within-your-html5-application/
Now my aim is to create custom DASH client player
with following features
- Create a Media player on any browser
- Parsing MPD file
- Decode audio/video data
- Segment parsing
- Add content to the video player
Now my understanding is Dash.js
is doing all the above steps with JavaScript . Isn't ? Now My doubts are
- Is Dash.js is creating media player with MSE API's ?
- Can i adaptive stream over HTTP with out MSE ?
- If not , How can i work this on old browsers ? (Non-MSE compliance browser)
Finally how can i write a custom video player for adaptive streaming with out any libraries ? Can you Please suggest Any useful links or tutorials ?