修改视频的帧高度

This commit is contained in:
wangdongsheng 2021-09-03 10:33:43 +08:00
parent a3ff8fd41c
commit 94526a9054
4 changed files with 9 additions and 6 deletions

View File

@ -212,7 +212,7 @@ public class PictureActivity extends BaseActivity implements View.OnClickListene
* app:cameraVideoSizeMaxWidth="2000"
* app:cameraVideoSizeMaxArea="2000000"
*/
camera.setVideoBitRate(2100000);
camera.setVideoBitRate(2073600);
//获取地图
tencentMap = ivMap.getMap();
//tenementMap.setOnMapLoadedCallback();

View File

@ -35,7 +35,6 @@ public class StaySubmitAdapter extends RecyclerView.Adapter<StaySubmitAdapter.Vi
}
public void setAllRoad(List<PoiEntity> allRoad) {
this.allRoad.clear();
this.allRoad.addAll(allRoad);
notifyDataSetChanged();

View File

@ -11,8 +11,12 @@
android:layout_height="match_parent">
<com.otaliastudios.cameraview.CameraView
android:id="@+id/camera"
app:cameraVideoSizeMaxWidth="2500"
app:cameraVideoSizeMaxArea="2750000"
app:cameraVideoSizeMaxArea="3686400"
app:cameraVideoSizeMinArea="1166400"
app:cameraVideoSizeMaxHeight="1920"
app:cameraVideoSizeMinHeight="1080"
app:cameraVideoSizeMaxWidth="1920"
app:cameraVideoSizeMinWidth="1080"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:keepScreenOn="true"

View File

@ -16,8 +16,8 @@
android:id="@+id/camera"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:cameraPictureSizeMaxArea="1000000"
app:cameraPictureSizeMinArea="600000"
app:cameraPictureSizeMaxArea="921600"
app:cameraPictureSizeMinArea="518400"
app:cameraPictureSizeMaxWidth="960"
app:cameraPictureSizeMinHeight="720"
app:cameraPictureSizeMinWidth="720"