(sessionID, agentName, reason string)
| 505 | } |
| 506 | |
| 507 | func StreamStopped(sessionID, agentName, reason string) Event { |
| 508 | return &StreamStoppedEvent{ |
| 509 | Type: "stream_stopped", |
| 510 | SessionID: sessionID, |
| 511 | AgentContext: newAgentContext(agentName), |
| 512 | Reason: reason, |
| 513 | } |
| 514 | } |
| 515 | |
| 516 | func (e *StreamStoppedEvent) GetSessionID() string { return e.SessionID } |
| 517 |