Guides: Safeguard your video content: DRM setup tutorial
Hey, Phil from Mux
here with a quick
demo of Mux Video's
new DRM feature.
DRM's a set of
technologies that
lets you protect
your video against
those pesky internet
pirates, including
protecting against
things like
downloading or
screen recording
of your videos.
Let's take a look.
Okay.
So let's create
our DRM asset.
DRM works both on
on demand assets,
as well as on
all types of live
stream as well.
This will look a
little bit different
to your used to.
We're using the new
advanced playback
policies field.
When we create our
asset to set the
policy to DRM and
pass in our DRM
configuration ID.
This one's mine.
It won't work for
you when you're
using the DRM
product, you'll get
your own shiny DRM
configuration ID.
Let's create
that asset.
Okay, so that
asset's ready.
To playback DRM
content, you have
to use signed URLs,
but you also need
to sign a new token
for the license URL.
Let's grab the
playback ID and
jump on over to the
little script I've
written that lets us
sign all those URLs.
Okay, so we've got
all of our tokens,
our playback token,
our license token,
our storyboard
token, and our
thumbnail token.
Let's jump on over
to MuxPlayer and
put those in to
play our video.
Okay, so first up,
I'll move over the
playback ID, put
it in the right
field, then our
playback token,
then our new DRM
license token,
and then
obviously the
storyboard token,
and the thumbnail
token, as we'd
usually use.
Then hopefully,
if we hit refresh,
here's where we
run into a problem.
We've just got
a blank screen.
And that's because
I'm using OBS on
my Mac to capture
this video.
So the DRM system's
kicking in and
blanking it out.
Let's jump on over
to the other camera
that's behind me
and see if we can
see a video playing.
Okay, so I've
turned off my
screen capture.
Let's see if
the video plays.
Looks great.
So that's DRM.
I can't wait to see
what you build and
the content you're
going to protect.