修改视频的帧高度
This commit is contained in:
parent
a3ff8fd41c
commit
94526a9054
@ -212,7 +212,7 @@ public class PictureActivity extends BaseActivity implements View.OnClickListene
|
|||||||
* app:cameraVideoSizeMaxWidth="2000"
|
* app:cameraVideoSizeMaxWidth="2000"
|
||||||
* app:cameraVideoSizeMaxArea="2000000"
|
* app:cameraVideoSizeMaxArea="2000000"
|
||||||
*/
|
*/
|
||||||
camera.setVideoBitRate(2100000);
|
camera.setVideoBitRate(2073600);
|
||||||
//获取地图
|
//获取地图
|
||||||
tencentMap = ivMap.getMap();
|
tencentMap = ivMap.getMap();
|
||||||
//tenementMap.setOnMapLoadedCallback();
|
//tenementMap.setOnMapLoadedCallback();
|
||||||
|
@ -35,7 +35,6 @@ public class StaySubmitAdapter extends RecyclerView.Adapter<StaySubmitAdapter.Vi
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void setAllRoad(List<PoiEntity> allRoad) {
|
public void setAllRoad(List<PoiEntity> allRoad) {
|
||||||
|
|
||||||
this.allRoad.clear();
|
this.allRoad.clear();
|
||||||
this.allRoad.addAll(allRoad);
|
this.allRoad.addAll(allRoad);
|
||||||
notifyDataSetChanged();
|
notifyDataSetChanged();
|
||||||
|
@ -11,8 +11,12 @@
|
|||||||
android:layout_height="match_parent">
|
android:layout_height="match_parent">
|
||||||
<com.otaliastudios.cameraview.CameraView
|
<com.otaliastudios.cameraview.CameraView
|
||||||
android:id="@+id/camera"
|
android:id="@+id/camera"
|
||||||
app:cameraVideoSizeMaxWidth="2500"
|
app:cameraVideoSizeMaxArea="3686400"
|
||||||
app:cameraVideoSizeMaxArea="2750000"
|
app:cameraVideoSizeMinArea="1166400"
|
||||||
|
app:cameraVideoSizeMaxHeight="1920"
|
||||||
|
app:cameraVideoSizeMinHeight="1080"
|
||||||
|
app:cameraVideoSizeMaxWidth="1920"
|
||||||
|
app:cameraVideoSizeMinWidth="1080"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:keepScreenOn="true"
|
android:keepScreenOn="true"
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
android:id="@+id/camera"
|
android:id="@+id/camera"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
app:cameraPictureSizeMaxArea="1000000"
|
app:cameraPictureSizeMaxArea="921600"
|
||||||
app:cameraPictureSizeMinArea="600000"
|
app:cameraPictureSizeMinArea="518400"
|
||||||
app:cameraPictureSizeMaxWidth="960"
|
app:cameraPictureSizeMaxWidth="960"
|
||||||
app:cameraPictureSizeMinHeight="720"
|
app:cameraPictureSizeMinHeight="720"
|
||||||
app:cameraPictureSizeMinWidth="720"
|
app:cameraPictureSizeMinWidth="720"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user