You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.4 KiB
Java
64 lines
1.4 KiB
Java
package net.ossrs.yasea;
|
|
|
|
import android.util.Range;
|
|
|
|
import java.util.List;
|
|
|
|
//摄像头对象类
|
|
public class CameraItemData {
|
|
public String id;//摄像头编号
|
|
public int sensorOrientation;//摄像头朝向
|
|
public Range<Integer>[] FPS_RANGES;//FPS
|
|
public Long MAX_FRAME_DURATION;//最大帧率
|
|
public int LENS_FACING;//前置后置
|
|
public List supportedSizes;//支持处理的分辨率
|
|
|
|
public List getSupportedSizes() {
|
|
return supportedSizes;
|
|
}
|
|
|
|
public void setSupportedSizes(List supportedSizes) {
|
|
this.supportedSizes = supportedSizes;
|
|
}
|
|
|
|
public int getLENS_FACING() {
|
|
return LENS_FACING;
|
|
}
|
|
|
|
public void setLENS_FACING(int LENS_FACING) {
|
|
this.LENS_FACING = LENS_FACING;
|
|
}
|
|
|
|
public Long getMAX_FRAME_DURATION() {
|
|
return MAX_FRAME_DURATION;
|
|
}
|
|
|
|
public void setMAX_FRAME_DURATION(Long MAX_FRAME_DURATION) {
|
|
this.MAX_FRAME_DURATION = MAX_FRAME_DURATION;
|
|
}
|
|
|
|
public Range<Integer>[] getFPS_RANGES() {
|
|
return FPS_RANGES;
|
|
}
|
|
|
|
public void setFPS_RANGES(Range<Integer>[] FPS_RANGES) {
|
|
this.FPS_RANGES = FPS_RANGES;
|
|
}
|
|
|
|
public int getSensorOrientation() {
|
|
return sensorOrientation;
|
|
}
|
|
|
|
public void setSensorOrientation(int sensorOrientation) {
|
|
this.sensorOrientation = sensorOrientation;
|
|
}
|
|
|
|
public String getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(String id) {
|
|
this.id = id;
|
|
}
|
|
}
|