MCPcopy Index your code
hub / github.com/Monibuca/engine / GetPublisherConfig

Method GetPublisherConfig

stream.go:237–243  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

235}
236
237func (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 返回流的简要信息
246func (s *Stream) Summary() (r StreamSummay) {

Callers 1

runMethod · 0.95

Calls 2

ErrorMethod · 0.65
GetConfigMethod · 0.65

Tested by

no test coverage detected