Guides: Safeguard your video content: DRM setup tutorial

0:00

Hey, Phil from Mux

0:01

here with a quick

0:02

demo of Mux Video's

0:03

new DRM feature.

0:05

DRM's a set of

0:06

technologies that

0:07

lets you protect

0:08

your video against

0:09

those pesky internet

0:10

pirates, including

0:12

protecting against

0:12

things like

0:13

downloading or

0:14

screen recording

0:15

of your videos.

0:16

Let's take a look.

0:17

Okay.

0:18

So let's create

0:19

our DRM asset.

0:20

DRM works both on

0:21

on demand assets,

0:22

as well as on

0:24

all types of live

0:24

stream as well.

0:26

This will look a

0:26

little bit different

0:27

to your used to.

0:28

We're using the new

0:29

advanced playback

0:30

policies field.

0:31

When we create our

0:32

asset to set the

0:33

policy to DRM and

0:35

pass in our DRM

0:36

configuration ID.

0:37

This one's mine.

0:38

It won't work for

0:39

you when you're

0:39

using the DRM

0:40

product, you'll get

0:40

your own shiny DRM

0:43

configuration ID.

0:43

Let's create

0:44

that asset.

0:48

Okay, so that

0:49

asset's ready.

0:50

To playback DRM

0:51

content, you have

0:52

to use signed URLs,

0:53

but you also need

0:54

to sign a new token

0:55

for the license URL.

0:57

Let's grab the

0:58

playback ID and

0:59

jump on over to the

1:00

little script I've

1:01

written that lets us

1:02

sign all those URLs.

1:04

Okay, so we've got

1:05

all of our tokens,

1:06

our playback token,

1:08

our license token,

1:09

our storyboard

1:10

token, and our

1:11

thumbnail token.

1:12

Let's jump on over

1:13

to MuxPlayer and

1:15

put those in to

1:16

play our video.

1:17

Okay, so first up,

1:18

I'll move over the

1:19

playback ID, put

1:21

it in the right

1:21

field, then our

1:24

playback token,

1:27

then our new DRM

1:29

license token,

1:32

and then

1:33

obviously the

1:33

storyboard token,

1:37

and the thumbnail

1:38

token, as we'd

1:39

usually use.

1:41

Then hopefully,

1:43

if we hit refresh,

1:45

here's where we

1:46

run into a problem.

1:47

We've just got

1:47

a blank screen.

1:49

And that's because

1:50

I'm using OBS on

1:51

my Mac to capture

1:52

this video.

1:53

So the DRM system's

1:55

kicking in and

1:56

blanking it out.

1:57

Let's jump on over

1:58

to the other camera

1:59

that's behind me

2:00

and see if we can

2:00

see a video playing.

2:02

Okay, so I've

2:02

turned off my

2:03

screen capture.

2:04

Let's see if

2:05

the video plays.

2:07

Looks great.

2:09

So that's DRM.

2:10

I can't wait to see

2:11

what you build and

2:11

the content you're

2:12

going to protect.