()
| 235 | } |
| 236 | |
| 237 | func (s *Stream) GetPublisherConfig() *config.Publish { |
| 238 | if s.Publisher == nil { |
| 239 | s.Error("GetPublisherConfig: Publisher is nil") |
| 240 | return nil |
| 241 | } |
| 242 | return s.Publisher.GetConfig() |
| 243 | } |
| 244 | |
| 245 | // Summary 返回流的简要信息 |
| 246 | func (s *Stream) Summary() (r StreamSummay) { |