![]() ![]() When we create a new live stream, we’ll be provided with a Stream Key - we’ll need this when we’re pushing a stream into Mux Video. We’ll want to do this on the server side of our application to protect our Mux credentials from being stolen. The first thing that our application will need to be able to do is create a new live stream. You should add these to your package.json on Glitch and it will automatically install all the packages you need: "dependencies": "^2.0.0",īefore we get too deep into building our application, let’s take a quick look at an overview of the terminology we’ll be using as we build our application. ![]() The full list of dependencies you’ll need on the server side are as follows. If you’re building your own app, you can install SDK directly from NPM with npm install mux-node. In Glitch, we can just edit our package.json file, and add the Mux SDK to our dependencies. All we need to do to get started is include the Mux SDK as a dependency. Event based client-server communication - Socket.ioīecause we’re building in Node.js, we’re able to use the Mux Node SDK, which makes interacting with the Mux Video APIs easy.We’ll be using the following technologies to build it: Our web application will be a fairly simple Node.js app. We’ll also build a simple front end to our application. We’ll need to build a web application to interact with the Mux Video APIs to ingest streams and to listen for callbacks from Mux about the state of assets in the platform. You can get started by building a new application at, but we’d recommend you start by remixing the application we’ve already built for you - just click the “remix” button in the top right corner. Glitch is a great tool for prototyping single page web applications. To prototype our application we’ll be using. Live video allows you to engage intimately with your audience, and allows you to build engaging interactive experiences like those seen in HQ Trivia, Twitch, or Crowdcast. The rise of live video experiences on the web has been prolific - the barrier to entry is now sufficiently low that anyone with a phone or computer can create a high quality live streaming experience - no longer do we need complex playout suites and TV grade broadcast equipment to get our content in front of a global audience. The new app we’ll build today will show users live streams whenever we’re broadcasting, and show an archive of past streams which users can view. This guide will show you step-by-step how to build your own live streaming app using the Mux Video APIs. Mux Video provides simple but powerful APIs which make it easy for you to build beautiful video into your application. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |