(audio codec.AudioCodecID, video codec.VideoCodecID)
| 18 | } |
| 19 | |
| 20 | func (ts *MemoryTs) WritePMTPacket(audio codec.AudioCodecID, video codec.VideoCodecID) { |
| 21 | ts.PMT.Reset() |
| 22 | mpegts.WritePMTPacket(&ts.PMT, video, audio) |
| 23 | } |
| 24 | |
| 25 | func (ts *MemoryTs) WriteTo(w io.Writer) (int64, error) { |
| 26 | w.Write(mpegts.DefaultPATPacket) |
nothing calls this directly
no test coverage detected