diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-11-25 07:42:00 -0500 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-11-25 07:42:00 -0500 |
| commit | 0c12e440bdb5ad7c6bbea98a76fd1570187d23ac (patch) | |
| tree | 45ddfd762a6cd629b0be95859116f0d39ed849bb /www/js/MontageHistoryCtrl.js | |
| parent | 24413cfc86c60da2d252b510712e4f94ac01faf8 (diff) | |
specify mjpeg and h264 modes - ZM seems to do it
Diffstat (limited to 'www/js/MontageHistoryCtrl.js')
| -rw-r--r-- | www/js/MontageHistoryCtrl.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/js/MontageHistoryCtrl.js b/www/js/MontageHistoryCtrl.js index 501c0f48..ccc02ec0 100644 --- a/www/js/MontageHistoryCtrl.js +++ b/www/js/MontageHistoryCtrl.js @@ -303,7 +303,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc var bw = NVR.getBandwidth() == "lowbw" ? zm.eventMontageQualityLowBW : ld.montageHistoryQuality; if (eType=='video') { - var videoURL= $scope.MontageMonitors[j].Monitor.baseURL + "/index.php?view=view_video&eid=" + eid; + var videoURL= $scope.MontageMonitors[j].Monitor.baseURL + "/index.php?view=view_video&mode=mpeg&format=h264&eid=" + eid; videoURL += $rootScope.authSession; if ($rootScope.basicAuthToken) videoURL = videoURL + "&basicauth=" + $rootScope.basicAuthToken; @@ -428,7 +428,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc var eid = data.events[0].Event.Id; if (eType=='video') { - var videoURL= $scope.MontageMonitors[i].Monitor.baseURL + "/index.php?view=view_video&eid=" + eid; + var videoURL= $scope.MontageMonitors[i].Monitor.baseURL + "/index.php?view=view_video&mode=mpeg&format=h264&eid=" + eid; videoURL += $rootScope.authSession; if ($rootScope.basicAuthToken) videoURL = videoURL + "&basicauth=" + $rootScope.basicAuthToken; @@ -884,7 +884,7 @@ angular.module('zmApp.controllers').controller('zmApp.MontageHistoryCtrl', ['$sc if (success.eid != "null" && success.eid != m.Monitor.eid && success.eid !="-1") { - var videoURL= m.Monitor.baseURL + "/index.php?view=view_video&eid=" + success.eid; + var videoURL= m.Monitor.baseURL + "/index.php?view=view_video&mode=mpeg&format=h264&eid=" + success.eid; videoURL += $rootScope.authSession; if ($rootScope.basicAuthToken) videoURL = videoURL + "&basicauth=" + $rootScope.basicAuthToken; |
