MERN Mediastream
We will build the MERN Mediastream application by extending the base application. It will be a simple video streaming application that allows registered users to upload videos that can be streamed by anyone browsing through the application:
Note
The code for the complete MERN Mediastream application is available on GitHub github.com/shamahoque/mern-mediastream. The implementations discussed in this chapter can be accessed in the simple-mediastream-gridfs
branch of the same repository. You can clone this code and run the application as you go through the code explanations in the rest of this chapter.
The views needed for the features related to media upload, editing, and streaming in a simple media player will be developed by extending and modifying the existing React components in the MERN skeleton application. The component-tree pictured next shows all the custom React components that make up the MERN Mediastream frontend developed in this chapter: