@@ -185,6 +185,7 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
185185 licenseServerUrl : '' ,
186186 httpRequestHeaders : { } ,
187187 serverCertificate : '' ,
188+ serverCertificateURLs : [ ] ,
188189 httpTimeout : 5000 ,
189190 priority : 1 ,
190191 audioRobustness : '' ,
@@ -198,6 +199,7 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
198199 licenseServerUrl : '' ,
199200 httpRequestHeaders : { } ,
200201 serverCertificate : '' ,
202+ serverCertificateURLs : [ ] ,
201203 httpTimeout : 5000 ,
202204 priority : 0 ,
203205 audioRobustness : '' ,
@@ -211,6 +213,7 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
211213 licenseServerUrl : '' ,
212214 httpRequestHeaders : { } ,
213215 serverCertificate : '' ,
216+ serverCertificateURLs : [ ] ,
214217 httpTimeout : 5000 ,
215218 kid : '' ,
216219 key : '' ,
@@ -225,6 +228,12 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
225228
226229 $scope . clearkeyRequestHeaders = [ ] ;
227230
231+ $scope . playreadyServerCertificateURLs = '' ;
232+
233+ $scope . widevineServerCertificateURLs = '' ;
234+
235+ $scope . clearkeyServerCertificateURLs = '' ;
236+
228237 $scope . additionalClearkeyPairs = [ ] ;
229238
230239 $scope . protData = { } ;
@@ -1026,6 +1035,9 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
10261035 $scope . playreadyRequestHeaders = [ ] ;
10271036 $scope . widevineRequestHeaders = [ ] ;
10281037 $scope . clearkeyRequestHeaders = [ ] ;
1038+ $scope . playreadyServerCertificateURLs = '' ;
1039+ $scope . widevineServerCertificateURLs = '' ;
1040+ $scope . clearkeyServerCertificateURLs = '' ;
10291041 $scope . clearkeys = [ ] ;
10301042 $scope . additionalClearkeyPairs = [ ] ;
10311043 }
@@ -1489,7 +1501,8 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
14891501 key !== 'priority' &&
14901502 key !== 'kid' &&
14911503 key !== 'key' &&
1492- key !== 'inputMode' ) {
1504+ key !== 'inputMode' &&
1505+ key !== 'isCustomRobustness' ) {
14931506 protectionData [ input . drmKeySystem ] [ key ] = input [ key ] ;
14941507 }
14951508 }
@@ -1536,7 +1549,8 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
15361549 key !== 'drmKeySystem' &&
15371550 key !== 'licenseServerUrl' &&
15381551 key !== 'httpRequestHeaders' &&
1539- key !== 'priority' ) {
1552+ key !== 'priority' &&
1553+ key !== 'isCustomRobustness' ) {
15401554 protectionData [ input . drmKeySystem ] [ key ] = input [ key ] ;
15411555 }
15421556 }
@@ -1592,6 +1606,7 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
15921606 kid : '' ,
15931607 key : ''
15941608 } )
1609+ break ;
15951610 }
15961611 }
15971612
@@ -1631,6 +1646,12 @@ app.controller('DashController', ['$scope', '$window', 'sources', 'contributors'
16311646 }
16321647 }
16331648
1649+ $scope . handleServerCertificateURLs = function ( ) {
1650+ $scope . drmPlayready . serverCertificateURLs = $scope . playreadyServerCertificateURLs . split ( / \s + / ) ;
1651+ $scope . drmWidevine . serverCertificateURLs = $scope . widevineServerCertificateURLs . split ( / \s + / ) ;
1652+ $scope . drmClearkey . serverCertificateURLs = $scope . clearkeyServerCertificateURLs . split ( / \s + / ) ;
1653+ }
1654+
16341655 /** Handle multiple clearkeys */
16351656 $scope . handleClearkeys = function ( ) {
16361657 // Initialize with empty
0 commit comments