stash/vendor/github.com/zencoder/go-dash/v3/mpd/events.go
2023-03-07 12:57:27 +11:00

18 lines
538 B
Go

package mpd
import "encoding/xml"
type EventStream struct {
XMLName xml.Name `xml:"EventStream"`
SchemeIDURI *string `xml:"schemeIdUri,attr"`
Value *string `xml:"value,attr,omitempty"`
Timescale *uint `xml:"timescale,attr"`
Events []Event `xml:"Event,omitempty"`
}
type Event struct {
XMLName xml.Name `xml:"Event"`
ID *string `xml:"id,attr,omitempty"`
PresentationTime *uint64 `xml:"presentationTime,attr,omitempty"`
Duration *uint64 `xml:"duration,attr,omitempty"`
}