修复:
直播結束關閉問題
This commit is contained in:
parent
57f6d7da86
commit
b89c65c690
@ -450,7 +450,7 @@ public class LiveAudienceActivity extends LiveActivity {
|
||||
* 退出直播间
|
||||
*/
|
||||
public void exitLiveRoom() {
|
||||
manager.exitLiveRoom();
|
||||
onBackPressed();
|
||||
}
|
||||
|
||||
|
||||
|
@ -291,10 +291,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
mSocketRyClient.disConnect();
|
||||
}
|
||||
mSocketRyClient = null;
|
||||
|
||||
|
||||
//结束播放
|
||||
if (mLivePlayViewHolder != null) {
|
||||
mLivePlayViewHolder.stopPlay();
|
||||
mLivePlayViewHolder.release();
|
||||
}
|
||||
mLivePlayViewHolder = null;
|
||||
@ -309,10 +308,6 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
mSocketClient = null;
|
||||
|
||||
}
|
||||
if (mLivePlayViewHolder != null) {
|
||||
|
||||
mLivePlayViewHolder.stopPlay();
|
||||
}
|
||||
|
||||
if (mLiveRoomViewHolder != null) {
|
||||
mLiveRoomViewHolder.removeFromParent();
|
||||
|
Loading…
Reference in New Issue
Block a user