| | |
| | | |
| | | private boolean isPush;//是否推流 true-是 |
| | | private boolean usedOutCamera;//默认false 使用内置摄像头, true使用外置摄像头 |
| | | |
| | | |
| | | private int usbCameraId;//标记是用1- P1 usb摄像头 2-P2摄像头 |
| | | private String jsonconfig ; //以后可能会用到,目前用不到 |
| | | private int codeRate = 0;// 码率 |
| | | private int frameRate = 0;// 帧率 |
| | | private ScreenSolution m_screen; |
| | |
| | | private String pwd;//ftp上传密码 |
| | | private int recordTime;//分钟 |
| | | |
| | | public int getUsbCameraId() { |
| | | return usbCameraId; |
| | | } |
| | | |
| | | private int tfCardFlag =0; //0-内部flash 1- 外置tfcard |
| | | public String getJsonconfig() { |
| | | return jsonconfig; |
| | | } |
| | | |
| | | public void setJsonconfig(String jsonconfig) { |
| | | this.jsonconfig = jsonconfig; |
| | | } |
| | | |
| | | public void setUsbCameraId(int usbCameraId) { |
| | | this.usbCameraId = usbCameraId; |
| | | } |
| | | |
| | | private int tfCardFlag =0; //0-内部flash 1- 外置tfcard |
| | | |
| | | public int getTfCardFlag() { |
| | | return tfCardFlag; |
| | |
| | | public void writeToParcel(Parcel dest, int flags) { |
| | | dest.writeByte(this.isPush ? (byte) 1 : (byte) 0); |
| | | dest.writeByte(this.usedOutCamera ? (byte) 1 : (byte) 0); |
| | | dest.writeInt(this.usbCameraId); |
| | | dest.writeInt(this.codeRate); |
| | | dest.writeInt(this.frameRate); |
| | | |
| | |
| | | protected MediaArgu(Parcel in) { |
| | | this.isPush = in.readByte() != 0; |
| | | this.usedOutCamera = in.readByte() != 0; |
| | | this.usbCameraId = in.readInt(); |
| | | this.codeRate = in.readInt(); |
| | | this.frameRate = in.readInt(); |
| | | this.m_screen = in.readParcelable(ScreenSolution.class.getClassLoader()); |