From 5f37e26fb955312d7e27bfd4988cfacd50335068 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 05 三月 2020 19:11:47 +0800
Subject: [PATCH] show resolution width and height

---
 controllers/camera.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/controllers/camera.go b/controllers/camera.go
index ea2b91b..6db49e3 100644
--- a/controllers/camera.go
+++ b/controllers/camera.go
@@ -161,6 +161,8 @@
 	//2019-11-02鏂板闇�姹傦紝鏄剧ず姣忎釜鎽勫儚鏈虹殑澶勭悊鏈嶅姟鍣ㄤ俊鎭�,褰掑睘鐨勮妭鐐规湇鍔″櫒鍚嶇О
 	m := util.Struct2Map(camera)
 	m["runServerName"] = ""
+	m["resolution_width"] = camera.ResolutionWidth
+	m["resolution_height"] = camera.ResolutionHeight
 	//鎽勫儚鏈哄垎杈ㄧ巼
 	dRe0 := Resolution{
 		Width: 0,

--
Gitblit v1.8.0