av/packet/RtpToTsConverter.go

21 lines
359 B
Go

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() {
}