mLoadingView = findViewById(R.id.LoadingView);
mSurfaceView = (SurfaceView) findViewById(R.id.SurfaceView);
mSurfaceView.getHolder().addCallback(mCallback);
mVideoPath = getIntent().getStringExtra("videoPath");
mAVOptions = new AVOptions();
<BUG>if (isLiveStreaming(mVideoPath)) {
mAVOptions.setInteger(AVOptions.KEY_PREPARE_TIMEOUT, 10 * 1000);</BUG>
mAVOptions.setInteger(AVOptions.KEY_GET_AV_FRAME_TIMEOUT, 10 * 1000);
<BUG>mAVOptions.setInteger(AVOptions.KEY_LIVE_STREAMING, 1);

}</BUG>
int codec = getIntent().getIntExtra("mediaCodec", 0);

mLoadingView = findViewById(R.id.LoadingView);
mSurfaceView = (SurfaceView) findViewById(R.id.SurfaceView);
mSurfaceView.getHolder().addCallback(mCallback);
mVideoPath = getIntent().getStringExtra("videoPath");
mAVOptions = new AVOptions();
int isLiveStreaming = getIntent().getIntExtra("liveStreaming", 1);
mAVOptions.setInteger(AVOptions.KEY_PREPARE_TIMEOUT, 10 * 1000);
mAVOptions.setInteger(AVOptions.KEY_GET_AV_FRAME_TIMEOUT, 10 * 1000);
mAVOptions.setInteger(AVOptions.KEY_LIVE_STREAMING, isLiveStreaming);
if (isLiveStreaming == 1) {
mAVOptions.setInteger(AVOptions.KEY_DELAY_OPTIMIZATION, 1);
}
int codec = getIntent().getIntExtra("mediaCodec", 0);
