Update SrsPublisher.java

camera2
thegobot 6 years ago committed by GitHub
parent 0ed6343411
commit 6e00e91d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -245,6 +245,10 @@ public class SrsPublisher {
public int getCameraId() {
return mCameraView.getCameraId();
}
public Camera getCamera() {
return mCameraView.getCamera();
}
public void setPreviewResolution(int width, int height) {
int resolution[] = mCameraView.setPreviewResolution(width, height);

Loading…
Cancel
Save