private int mLastRotate; //屏幕旋转角度</BUG>
public static void startActivity(Context context, int fromType,
String rtmpUrl, int frameRate,
int videoBitrate, int audioBitrate,
<BUG>int videoResolution, boolean isLandscape,
int encodeType, int encodeMethod,</BUG>
int encodeScene, int encodeProfile,
boolean startAuto, boolean showDebugInfo) {
Intent intent = new Intent(context, ScreenActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

private ImageView mSwitchCameraView;  //切换悬浮窗口的摄像头
private ImageView mSwitchCameraRotate;
private ImageView mCloseCamera;
private int mPreviewFps;   //摄像头预览的采集帧率
private int mPreviewResolution;  //摄像头预览的分辨率
public static void startActivity(Context context, int fromType,
String rtmpUrl, int frameRate,
int videoBitrate, int audioBitrate,
int videoResolution, int orientation,
int encodeType, int encodeMethod,
int encodeScene, int encodeProfile,
boolean startAuto, boolean showDebugInfo) {
Intent intent = new Intent(context, ScreenActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
