type Writer interface {
// Add the content of an RTP packet to the media WriteRTP(packet *rtp.Packet) error// Close the media// Note: Close implementation must be idempotent
Close() error
}
Writer defines an interface to handle
the creation of media files