| 
					
				 | 
			
			
				@@ -143,16 +143,6 @@ class LiveBroadcastActivity : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        override fun onVideoLoading(player: V2TXLivePlayer?, extraInfo: Bundle?) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            super.onVideoLoading(player, extraInfo) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            val messageDialog = MessageDialog() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            messageDialog.setContent("", "", "直播结束") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            messageDialog.onDialogClickListener = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                finish() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            messageDialog.show(supportFragmentManager, "taskFragment") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         override fun onVideoPlaying( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             player: V2TXLivePlayer?, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             firstPlay: Boolean, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -263,6 +253,7 @@ class LiveBroadcastActivity : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             super.onRecvNewMessage(msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             runOnUiThread { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (msg != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    Log.e("wpp", "6-------------------------------"+GsonUtil.GsonString(msg)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     if (msg.isRead.not()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         makeMessageAsRead(msg) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if (msg.elemType == V2TIMMessage.V2TIM_ELEM_TYPE_CUSTOM) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -277,15 +268,26 @@ class LiveBroadcastActivity : 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         if (TextUtils.isEmpty(description).not()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             messageBean.description = description 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        if (TextUtils.equals("live", messageBean.businessID)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            binding.statusLayout.visibility = View.VISIBLE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        } else if (TextUtils.equals( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                                "gameDetails", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                                messageBean.businessID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                        ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                            if (TextUtils.isEmpty(messageBean.description).not()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                                                showGameTasksDialog(messageBean.description) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                        when (messageBean.businessID) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            "live" -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                binding.statusLayout.visibility = View.VISIBLE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            "gameDetails" -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                if (TextUtils.isEmpty(messageBean.description) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                        .not() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                    showGameTasksDialog(messageBean.description) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                            "endLive" -> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                val messageDialog = MessageDialog() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                messageDialog.setContent("", "", "直播结束") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                messageDialog.onDialogClickListener = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                    finish() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                                messageDialog.show(supportFragmentManager, "taskFragment") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                     } 
			 |