Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
camera2
Leo Ma 8 years ago
parent 7f27ca32d0
commit 6e3ba0dda5

@ -245,8 +245,8 @@ public class MainActivity extends AppCompatActivity implements RtmpHandler.RtmpL
mPublisher.setScreenOrientation(newConfig.orientation); mPublisher.setScreenOrientation(newConfig.orientation);
if (btnPublish.getText().toString().contentEquals("stop")) { if (btnPublish.getText().toString().contentEquals("stop")) {
mPublisher.startEncode(); mPublisher.startEncode();
mPublisher.startCamera();
} }
mPublisher.startCamera();
} }
private static String getRandomAlphaString(int length) { private static String getRandomAlphaString(int length) {

Loading…
Cancel
Save