From 0c12e440bdb5ad7c6bbea98a76fd1570187d23ac Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 25 Nov 2020 07:42:00 -0500 Subject: specify mjpeg and h264 modes - ZM seems to do it --- www/js/MontageHistoryCtrl.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'www/js/MontageHistoryCtrl.js') 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; -- cgit v1.2.3