Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Adding support for SegmentTimeline and SegmentList #28

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
philcluff merged 10 commits into master from issue_26
Mar 10, 2016
Merged

Conversation

@bahern
Copy link
Contributor

@bahern bahern commented Mar 10, 2016

Work related to #26

Added in additional structs to model SegmentTimeline and SegmentList and updated Period, AdaptationSet and Representation to include them as options.

bahern added 8 commits March 9, 2016 12:32
Adding structs based off the DASH XSDs to support SegmentTimeline and
SegmentList. Reworked existing structs to allow adding timelines and
lists at different points in the manifest.
Renamed Intptr to Int64ptr since that is what it is and made a new
Intptr func to deal with a normal int. Added a few others needed by
the newer structs’ properties and updated touch points as needed.
mpd/segment.go Outdated
Timescale *uint32 `xml:"timescale,attr,omitempty"`
PresentationTimeOffset *uint64 `xml:"presentationTimeOffset,attr,omitempty"`
IndexRange *string `xml:"indexRange,attr,omitempty"`
indexRangeExact *bool `xml:"indexRangeExact,attr,omitempty"`
Copy link
Contributor

@philcluff philcluff Mar 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is private and doesn't seem to be used anywhere, any reason?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo, will fix.

MimeType: Strptr(mimeType),
SegmentAlignment: Boolptr(segmentAlignment),
StartWithSAP: Intptr(startWithSAP),
StartWithSAP: Int64ptr(startWithSAP),
Copy link
Contributor

@philcluff philcluff Mar 10, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note unrelated to your change: This certainly doesn't need to be an Int64

Copy link
Contributor

LGTM.

# Conflicts:
#	mpd/mpd.go
Updated tests to have correct element order in AdaptationSet.
philcluff added a commit that referenced this pull request Mar 10, 2016
Adding support for SegmentTimeline and SegmentList
@philcluff philcluff merged commit bac0279 into master Mar 10, 2016
@philcluff philcluff deleted the issue_26 branch March 10, 2016 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /