package packet type RtpToTsConverter interface { New() *rtpToTsConverter } type rtpToTsConverter struct { TsOutChan <-chan MpegTsPacket RtpInChan chan<- RtpPacket } func New() c *rtpToTsConverter { c = new(rtpToTsConverter) c.TsOutChan = make(chan, MpegTsPacket) c.RtpInChan = make(chan, RtpPacket) } func (c* RtpToTsConverter) convert() { }