forked from zencoder/go-dash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmpd_attr.go
57 lines (44 loc) · 1.25 KB
/
mpd_attr.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package mpd
type AttrMPD interface {
GetStrptr() *string
}
type attrAvailabilityStartTime struct {
strptr *string
}
func (attr *attrAvailabilityStartTime) GetStrptr() *string {
return attr.strptr
}
// AttrAvailabilityStartTime returns AttrMPD object for NewMPD
func AttrAvailabilityStartTime(value string) AttrMPD {
return &attrAvailabilityStartTime{strptr: &value}
}
type attrMinimumUpdatePeriod struct {
strptr *string
}
func (attr *attrMinimumUpdatePeriod) GetStrptr() *string {
return attr.strptr
}
// AttrMinimumUpdatePeriod returns AttrMPD object for NewMPD
func AttrMinimumUpdatePeriod(value string) AttrMPD {
return &attrMinimumUpdatePeriod{strptr: &value}
}
type attrMediaPresentationDuration struct {
strptr *string
}
func (attr *attrMediaPresentationDuration) GetStrptr() *string {
return attr.strptr
}
// AttrMediaPresentationDuration returns AttrMPD object for NewMPD
func AttrMediaPresentationDuration(value string) AttrMPD {
return &attrMediaPresentationDuration{strptr: &value}
}
type attrPublishTime struct {
strptr *string
}
func (attr *attrPublishTime) GetStrptr() *string {
return attr.strptr
}
// AttrPublishTime returns AttrMPD object for NewMPD
func AttrPublishTime(value string) AttrMPD {
return &attrPublishTime{strptr: &value}
}