|
@@ -1383,12 +1383,12 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
|
|
|
public void subscribeAVStreamSuccess(List<RCRTCInputStream> inputStreams) {
|
|
|
if (isDestroyed() || isFinishing()) {
|
|
|
return;
|
|
|
-
|
|
|
}
|
|
|
if (liveIsFinish) {
|
|
|
//直播已结束
|
|
|
return;
|
|
|
}
|
|
|
+ this.liveIsPause = false;
|
|
|
if (inputStreams != null) {
|
|
|
refresh();
|
|
|
} else {
|
|
@@ -1680,7 +1680,6 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
|
|
|
mFlLiveView.post(new Runnable() {
|
|
|
@Override
|
|
|
public void run() {
|
|
|
- LiveRoomActivity.this.liveIsPause = false;
|
|
|
ArrayList<RCRTCVideoStream> videoStreams = new ArrayList<RCRTCVideoStream>();
|
|
|
videoStreams.addAll(outputStreams);
|
|
|
videoStreams.addAll(inputStreams);
|
|
@@ -1954,7 +1953,7 @@ public class LiveRoomActivity extends BaseMVPActivity<ActivityLiveroomLayoutBind
|
|
|
*/
|
|
|
public boolean checkMicMode() {
|
|
|
if (liveIsPause) {
|
|
|
- ToastUtil.getInstance().show(LiveRoomActivity.this, "直播已暂停");
|
|
|
+ ToastUtil.getInstance().show(LiveRoomActivity.this, "老师暂停中,暂时无法接受邀请");
|
|
|
return true;
|
|
|
}
|
|
|
if (liveIsFinish) {
|