Skip to content

Commit d037c4b

Browse files
bug
1 parent 3f78a9a commit d037c4b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.idea/misc.xml

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

libWSLive/src/main/java/me/lake/librestreaming/ws/StreamLiveCameraView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ public void startRecord(){
170170
* 停止录制
171171
*/
172172
public String stopRecord() {
173+
isRecord = false;
173174
if (mMuxer != null) {
174175
String path = mMuxer.getFilePath();
175176
mMuxer.stopRecording();
@@ -178,7 +179,6 @@ public String stopRecord() {
178179
return path;
179180
}
180181
System.gc();
181-
isRecord = false;
182182
return null;
183183
}
184184

0 commit comments

Comments
 (0)