|
|
@ -79,6 +79,7 @@ public class SnapshotVideoRecorder extends VideoRecorder implements RendererFram |
|
|
|
protected void onStart() { |
|
|
|
protected void onStart() { |
|
|
|
mPreview.addRendererFrameCallback(this); |
|
|
|
mPreview.addRendererFrameCallback(this); |
|
|
|
mDesiredState = STATE_RECORDING; |
|
|
|
mDesiredState = STATE_RECORDING; |
|
|
|
|
|
|
|
dispatchVideoRecordingStart(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
@ -240,7 +241,7 @@ public class SnapshotVideoRecorder extends VideoRecorder implements RendererFram |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void onEncodingStart() { |
|
|
|
public void onEncodingStart() { |
|
|
|
dispatchVideoRecordingStart(); |
|
|
|
//do nothing
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|