Signed-off-by: Leo Ma <begeekmyfriend@gmail.com>
@ -245,8 +245,8 @@ public class MainActivity extends AppCompatActivity implements RtmpHandler.RtmpL
mPublisher.setScreenOrientation(newConfig.orientation);
if (btnPublish.getText().toString().contentEquals("stop")) {
mPublisher.startEncode();
mPublisher.startCamera();
}
private static String getRandomAlphaString(int length) {