MCPcopy Create free account
hub / github.com/Monibuca/engine / Publisher

Struct Publisher

publisher.go:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17var _ IPublisher = (*Publisher)(nil)
18
19type Publisher struct {
20 IO
21 Config *config.Publish
22 common.AudioTrack `json:"-" yaml:"-"`
23 common.VideoTrack `json:"-" yaml:"-"`
24}
25
26func (p *Publisher) Publish(streamPath string, pub common.IPuber) error {
27 return p.receive(streamPath, pub)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected