|
|
@ -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) {
|
|
|
|