mirror of
				https://github.com/langhuihui/monibuca.git
				synced 2025-11-01 05:32:36 +08:00 
			
		
		
		
	feat: pion webrtc update to v4
This commit is contained in:
		| @@ -378,13 +378,16 @@ func (task *Task) SetDescriptions(value Description) { | ||||
| } | ||||
|  | ||||
| func (task *Task) dispose() { | ||||
| 	taskType, ownerType := task.handler.GetTaskType(), task.GetOwnerType() | ||||
| 	if task.state < TASK_STATE_STARTED { | ||||
| 		if task.Logger != nil { | ||||
| 			task.Debug("task dispose canceled", "taskId", task.ID, "taskType", taskType, "ownerType", ownerType, "state", task.state) | ||||
| 		} | ||||
| 		return | ||||
| 	} | ||||
| 	reason := task.StopReason() | ||||
| 	task.state = TASK_STATE_DISPOSING | ||||
| 	if task.Logger != nil { | ||||
| 		taskType, ownerType := task.handler.GetTaskType(), task.GetOwnerType() | ||||
| 		if taskType != TASK_TYPE_CALL { | ||||
| 			yargs := []any{"reason", reason, "taskId", task.ID, "taskType", taskType, "ownerType", ownerType} | ||||
| 			task.Debug("task dispose", yargs...) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 langhuihui
					langhuihui