@@ -151,9 +151,9 @@ This section walks you through securing a live stream with Widevine using DoveRu
151
151
152
152
``` bash
153
153
cd html5-player-drm-samples
154
- sudo cp videojs-pallycon -sample.html /usr/local/antmedia/webapps/live/
154
+ sudo cp videojs-doverunner -sample.html /usr/local/antmedia/webapps/live/
155
155
sudo cp js/videojs-sample.js /usr/local/antmedia/webapps/live/js/
156
- sudo cp js/pallycon -sample-helper.js /usr/local/antmedia/webapps/live/js/
156
+ sudo cp js/doverunner -sample-helper.js /usr/local/antmedia/webapps/live/js/
157
157
sudo cp css/* /usr/local/antmedia/webapps/live/css/
158
158
```
159
159
@@ -177,8 +177,8 @@ Pay attention that we use `stream007` as the `streamid`. It will be used to get
177
177
- The HTTP endpoint templates will be like
178
178
179
179
``` bash
180
- DASH: https://{YOUR_ANTMEDIA_SERVER}:5443/live/streams/stream123/master.mpd
181
- HLS: https://{YOUR_ANTMEDIA_SERVER}:5443/live/streams/stream123/master.m3u8
180
+ DASH: https://{YOUR_ANTMEDIA_SERVER}:5443/live/streams/drm/ stream123/master.mpd
181
+ HLS: https://{YOUR_ANTMEDIA_SERVER}:5443/live/streams/drm/ stream123/master.m3u8
182
182
```
183
183
184
184
### Step 4: Generate Widevine Token
@@ -189,14 +189,14 @@ Pay attention that we use `stream007` as the `streamid`. It will be used to get
189
189
- ** SITE ID, SITE Key, ACCESS Key** → Get from [ DRM Settings on DoveRunner] ( https://contentsecurity.doverunner.com/drm/setting ) .
190
190
- ** DRM Type** → ` Widevine ` because we used ` Widevine ` in this sample.
191
191
- ** CID** → Your streamId. ` stream007 ` in this sample.
192
- - ** USER ID** → any unique identifier.
192
+ - ** USER ID** → any unique identifier (for example, 1234 etc) .
193
193
- Click ** Refresh Timestamp** , and leave the other fields with default values.
194
194
195
195
3 . Click the ` Generate Token ` button and copy the token in ` Result ` .
196
196
4 . Open the below file:
197
197
198
198
``` bash
199
- sudo nano /usr/local/antmedia/webapps/live/js/pallycon -sample-helper.js
199
+ sudo nano /usr/local/antmedia/webapps/live/js/doverunner -sample-helper.js
200
200
```
201
201
202
202
- ** Replace** :
@@ -208,14 +208,20 @@ Pay attention that we use `stream007` as the `streamid`. It will be used to get
208
208
209
209
- Save the changes & exit the editor.
210
210
211
- ### Step 5 : Play the Stream in Chrome
211
+ ### Step 5 : Play Stream in Chrome
212
212
213
213
Open the below URL with ` Chrome` because Widevine is supported by Chrome:
214
214
215
215
` ` ` css
216
- https://{YOUR_ANTMEDIA_SERVER}:5443/live/videojs-pallycon -sample.html
216
+ https://{YOUR_ANTMEDIA_SERVER}:5443/live/videojs-doverunner -sample.html
217
217
` ` `
218
218
219
- - Click Play.
219
+ - Click Play
220
220
221
- - If it works — congratulations! 🎉 You are successfully playing a DRM - protected video using Widevine with your Ant Media Server.
221
+ - If it works, you are successfully playing a DRM - protected video using Widevine with your Ant Media Server.
222
+
223
+ - Try to get the screenshot of that page and it should be blank.
224
+
225
+ ! [](@site/ static / img/ drm- test .webp )
226
+
227
+ If it is blank, congratulations! 🎉 Your content is protected using the DRM , and no one can capture it.
0 commit comments