Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
begeekmyfriend authored May 6, 2019
1 parent a18f87c commit 0462d6d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions library/src/main/java/net/ossrs/yasea/SrsCameraView.java
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,6 @@ public void setPreviewCallback(Camera.PreviewCallback previewCallback){
}

public int[] setPreviewResolution(int width, int height) {

if (mCamera != null) {
stopCamera();
}

mCamera = openCamera();

mPreviewWidth = width;
Expand Down

0 comments on commit 0462d6d

Please sign in to comment.