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