Creating a Mux account
Transcript was automatically generated and may be inaccurate.
-
–
Forstoring, streaming, and delivering video, we're going to be using a service -
–
called Mux. -
–
Mux is a pay as you go service offering APIs to easily transcode and stream videos on -
–
the web. -
–
To get started, we're going to need to create an account on Mux. -
–
On the Mux website, click the "Getting Start" button, -
–
and go through the process to create an account. -
–
Once you've completed registration, you'll end up on the Mux dashboard which -
–
looks like this. -
–
Mux uses assets to refer to videos. When you want to transcode and stream a -
–
video, you'll create an asset. -
–
That asset has a lifecycle that starts off in the "preparing" state, -
–
and will leave the move to the "errored" state if there's a problem or the "ready" -
–
state when the asset's being transcoded and ready to be streamed. -
–
Before we can use Mux in our application, we need to generate some keys. -
–
If we go to "Settings", "Access Tokens", click the "Generate new token" button. -
–
Leave the environment to the default, and check the "Mux Video" checkbox. -
–
Ensure "Read" and "Write" are both checked, and then click "Generate token". -
–
We're going to copy the access token ID. -
–
In our application's .env file, we're going to paste it at the bottom under -
–
MUX_CLIENT_ID. -
–
Next, open the config/services.php file, add a section for "mux". -
–
And map those environment variables to configuration keys. -
–
We now have credentials to begin interacting with Mux. -
–
In the next video, we'll upload videos from our application to Mux for Mux -
–
to process.